[Kst] kdeextragear-2/kst/kst

Rick Chern rchern at interchange.ubc.ca
Thu Aug 26 22:22:42 CEST 2004


CVS commit by rchern: 

Don't show error message twice when file not found


  M +4 -2      kstquickstartdialog_i.cpp   1.4


--- kdeextragear-2/kst/kst/kstquickstartdialog_i.cpp  #1.3:1.4
@@ -51,6 +51,8 @@ void KstQuickStartDialogI::wizard_I() {
 
 void KstQuickStartDialogI::open_I() {
-  if (_recentFileList->currentItem() >= 0 && _app->slotFileOpenRecent(_fileName->url())) {
+  if (_recentFileList->currentItem() >= 0) {
+    if (_app->slotFileOpenRecent(_fileName->url())) {
     close();
+    }
   } else if (_app->openDocumentFile(_fileName->url())) {
     close();





More information about the Kst mailing list