[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Fri Dec 2 18:45:22 CET 2005


SVN commit 485048 by staikos:

Stay in the right mouse mode on key press
BUG: 117482


 M  +1 -2      kstviewwidget.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewwidget.cpp #485047:485048
@@ -463,8 +463,7 @@
       vo->keyPressEvent(this, e);
     }
     return;
-  } else if (_view->viewMode() != KstTopLevelView::DisplayMode &&
-             _view->viewMode() != KstTopLevelView::Unknown) {
+  } else if (_view->viewMode() == KstTopLevelView::LayoutMode) {
     ButtonState s = e->stateAfter();
     if (e->key() == Qt::Key_Escape) {
       _view->cancelMouseOperations();


More information about the Kst mailing list