[Kst] extragear/graphics/kst/src/libkstapp

George Staikos staikos at kde.org
Fri Mar 3 22:52:44 CET 2006


SVN commit 515491 by staikos:

sigh


 M  +3 -3      kst.cpp  


--- trunk/extragear/graphics/kst/src/libkstapp/kst.cpp #515490:515491
@@ -2455,7 +2455,7 @@
     if (it) {
       while (it->currentItem()) {
         KstViewWindow *win = dynamic_cast<KstViewWindow*>(it->currentItem());
-        if (win->view()->tiedZoomPrev(plot)) {
+        if (win && win->view()->tiedZoomPrev(plot)) {
           win->view()->widget()->paint();
         }
         it->next();
@@ -2474,7 +2474,7 @@
     if (it) {
       while (it->currentItem()) {
         KstViewWindow *win = dynamic_cast<KstViewWindow*>(it->currentItem());
-        if (win->view()->tiedZoomMode(zoom, flag, center, mode, modeExtra, plot)) {
+        if (win && win->view()->tiedZoomMode(zoom, flag, center, mode, modeExtra, plot)) {
           win->view()->widget()->paint();
         }
         it->next();
@@ -2493,7 +2493,7 @@
     if (it) {
       while (it->currentItem()) {
         KstViewWindow *win = dynamic_cast<KstViewWindow*>(it->currentItem());
-        if (win->view()->tiedZoom(x, xmin, xmax, y, ymin, ymax, plot)) {
+        if (win && win->view()->tiedZoom(x, xmin, xmax, y, ymin, ymax, plot)) {
           win->view()->widget()->paint();
         }
         it->next();


More information about the Kst mailing list