[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri Jun 18 21:53:42 CEST 2004


CVS commit by staikos: 

quick fix to make Apply Edits trigger a repaint


  M +5 -0      kst.cpp   1.156
  M +2 -0      kst.h   1.76
  M +2 -0      kstdoc.cpp   1.88


--- kdeextragear-2/kst/kst/kst.cpp  #1.155:1.156
@@ -1181,4 +1181,9 @@ void KstApp::tieAll() {
   }
 
+  paintAll();
+}
+
+
+void KstApp::paintAll() {
   KMdiIterator<KMdiChildView*> *pIterator = createIterator();
   if (pIterator) {

--- kdeextragear-2/kst/kst/kst.h  #1.75:1.76
@@ -119,4 +119,6 @@ class KstApp : public KMdiMainFrm {
     bool dataMode() const;
 
+    void paintAll();
+
   protected:
     virtual void customEvent(QCustomEvent *e);

--- kdeextragear-2/kst/kst/kstdoc.cpp  #1.87:1.88
@@ -650,4 +650,6 @@ void KstDoc::wasModified() {
 // FIXME XXXXX will this make sense anymore?
   forceUpdate();
+  KstApp *app = static_cast<KstApp*>(parent());
+  app->paintAll();
 }
 





More information about the Kst mailing list