Summary: | Changing data range with kbd changes mouse from create mode to layout mode | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Netterfield <netterfield> |
Component: | general | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.x | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Netterfield
2005-12-02 02:33:31 UTC
Not really in layout mode as the context menu is not for layout mode. It seems that the mouse handler is falling through to layout mode somewhere. The problem is most likely that KstViewWidget was not updated to deal with the new view modes. That is, it doesn't deal with Create or Label modes. 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(); |