[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Tue Jul 15 23:08:49 CEST 2003
CVS commit by staikos:
fix the ref counting in the plot dialog
M +5 -7 kstplotdialog_i.cpp 1.19
--- kdeextragear-2/kst/kst/kstplotdialog_i.cpp #1.18:1.19
@@ -358,4 +357,5 @@ void KstPlotDialogI::new_I() {
}
}
+ curves.clear();
applyLabels(plot);
@@ -402,4 +402,5 @@ void KstPlotDialogI::edit_I() {
}
}
+ curves.clear();
applyLabels(plot);
@@ -426,10 +427,7 @@ void KstPlotDialogI::edit_I() {
void KstPlotDialogI::delete_I() {
- int index;
-
- index = Select->currentItem();
- if (index<0) {
- KMessageBox::sorry(NULL,
- i18n("You need to select an active plot to delete."));
+ int index = Select->currentItem();
+ if (index < 0) {
+ KMessageBox::sorry(0L,i18n("You need to select an active plot to delete."));
return;
}
More information about the Kst
mailing list