[Kst] kdeextragear-2/kst/kst
Barth Netterfield
netterfield at astro.utoronto.ca
Sat Jul 10 17:39:19 CEST 2004
CVS commit by netterfield:
Fix for bugs 83878 and 83879.
M +8 -1 kstlabeldialog_i.cpp 1.13
M +0 -1 kstviewobject.cpp 1.75
--- kdeextragear-2/kst/kst/kstlabeldialog_i.cpp #1.12:1.13
@@ -27,8 +27,11 @@
#include <klineedit.h>
#include <knuminput.h>
+#include <kmdimainfrm.h>
#include "kstdatacollection.h"
#include "kstlabeldialog_i.h"
#include "scalarselector.h"
+#include "kstviewwindow.h"
+#include "kst.h"
KstLabelDialogI::KstLabelDialogI(QWidget *parent, const char* name, bool modal,
@@ -109,4 +111,9 @@ void KstLabelDialogI::apply() {
}
+ KMdiChildView *c = KstApp::inst()->activeWindow();
+ if (c) {
+ static_cast<KstViewWindow*>(c)->view()->paint(P_PLOT);
+ }
+
emit applied();
}
More information about the Kst
mailing list