[Kst] kdeextragear-2/kst/kst
Barth Netterfield
netterfield at astro.utoronto.ca
Fri Dec 17 21:15:23 CET 2004
CVS commit by netterfield:
-make update dialogs not update hidden dialogs by default
-make registerDocChange() call update dialogs.
M +2 -1 kst.cpp 1.271
M +2 -1 kst.h 1.119
--- kdeextragear-2/kst/kst/kst.cpp #1.270:1.271
@@ -1379,5 +1379,5 @@ void KstApp::tieAll() {
}
-#define PAINTTIMER
+//#define PAINTTIMER
void KstApp::paintAll(KstPaintType pt) {
#ifdef PAINTTIMER
@@ -1588,4 +1588,5 @@ void KstApp::registerDocChange() {
kdDebug() << "register doc changed" << endl;
forceUpdate();
+ updateVisibleDialogs();
doc->setModified();
}
--- kdeextragear-2/kst/kst/kst.h #1.118:1.119
@@ -308,5 +308,6 @@ class KstApp : public KMdiMainFrm {
/** calls update on all the dialogs */
void updateVisibleDialogs();
- void updateDialogs(bool onlyVisible = false);
+ // is there ever a reason to update hidden dialogs?
+ void updateDialogs(bool onlyVisible = true);
void updateDataDialogs(bool dataManager = true);
void updateDialogsForWindow();
More information about the Kst
mailing list