Fixed issue #985: Correctly store status for view patch in commit dialog