[Kst] extragear/graphics/kst/kst

Rick Chern rchern at interchange.ubc.ca
Tue Aug 16 21:39:50 CEST 2005


SVN commit 449814 by rchern:

disable context menu when in temporary layout mode (since Ctrl release is not caught later)

 M  +1 -1      kstviewwidget.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewwidget.cpp #449813:449814
@@ -300,7 +300,7 @@
 
 
 void KstViewWidget::contextMenuEvent(QContextMenuEvent *e) {
-  if (e->state() & Qt::LeftButton || _view->tracking()) {
+  if (e->state() & Qt::LeftButton || _view->tracking() || _view->viewMode() != _lastViewMode) {
     e->ignore();
     return;
   }


More information about the Kst mailing list