Fix for issue #30 - Commit button is disabled even if commit message is not empty (part 1)
Update 'Commit' buton enablemant after working copy is prepared for commit.
--- a/common/SCMAbstractCommitDialog.st Wed Mar 26 14:48:59 2014 +0000
+++ b/common/SCMAbstractCommitDialog.st Wed Mar 26 15:13:11 2014 +0000
@@ -778,10 +778,12 @@
self showProgressWhile:[
self doUpdateCode.
- self doRunSanityChecks
+ self doRunSanityChecks.
+ self doUpdateButtonEnablements.
].
"Created: / 03-03-2014 / 09:59:49 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 26-03-2014 / 15:06:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
postOpenWith: anUIBuilder
@@ -844,6 +846,12 @@
"Modified (comment): / 21-02-2014 / 23:30:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
+doUpdateButtonEnablements
+ self messageModifiedHolder changed:#value.
+
+ "Created: / 26-03-2014 / 15:06:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
doUpdateCode
self task doPrepareWorkingCopy1