[Kst] extragear/graphics/kst/kst

Rick Chern rchern at interchange.ubc.ca
Tue Aug 16 22:01:41 CEST 2005


SVN commit 449825 by rchern:

- make double-click and right-click work in layout mode when window is switched with CTRL held down in a drawing mode

 M  +1 -0      kstviewwidget.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewwidget.cpp #449824:449825
@@ -96,6 +96,7 @@
 
 
 void KstViewWidget::leaveEvent(QEvent *e) {
+  _lastViewMode = KstTopLevelView::LayoutMode;
   //kdDebug() << "Leave event" << endl;
   QWidget::leaveEvent(e);
   if (_view->viewMode() != KstTopLevelView::DisplayMode) {


More information about the Kst mailing list