[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/cvs
From:       Mario Scalas <mario.scalas () libero ! it>
Date:       2003-06-06 22:21:52
[Download RAW message or body]

CVS commit by marios: 

Fixed the check for empty log message in the commit dialog. 


  M +1 -1      commitdlg.cpp   1.9


--- kdevelop/parts/cvs/commitdlg.cpp  #1.8:1.9
@@ -73,5 +73,5 @@ bool CommitDialog::mustAddToChangeLog() 
 void CommitDialog::accept()
 {
-        if (logMessage().isEmpty()) {
+        if (textEdit->text().isNull() || textEdit->text().isEmpty()) {
         int s = KMessageBox::warningContinueCancel( this,
                         i18n("You are committing your changes without any comment. \
This is not a good practice. Continue anyway?"),


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic