[Kst] kdeextragear-2/kst/kst

Rick Chern rchern at interchange.ubc.ca
Tue Aug 17 21:03:13 CEST 2004


CVS commit by rchern: 

If creation of new window is cancelled when creating a new plot, do not continue creating the plot.

CCMAIL: 87384-done at bugs.kde.org


  M +3 -0      kstplotdialog_i.cpp   1.79


--- kdeextragear-2/kst/kst/kstplotdialog_i.cpp  #1.78:1.79
@@ -526,4 +526,7 @@ void KstPlotDialogI::new_I() {
   if (!c) {
     QString name = KstApp::inst()->newWindow();
+    if (name.isEmpty()) {
+      return;
+    }
     c = KstApp::inst()->findWindow(name);
     _window->insertItem(name);





More information about the Kst mailing list