[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Fri Sep 12 03:53:40 CEST 2003
CVS commit by staikos:
only allow label drags in label mode for now. proper drag start should be
added later to avoid the problem of zoombox initiating a drag.
M +2 -1 kstview.cpp 1.29
--- kdeextragear-2/kst/kst/kstview.cpp #1.28:1.29
@@ -358,5 +358,6 @@ void KstView::mouseMoveEvent(QMouseEvent
int plot_num = MouseInfo->getPlotNum();
- if (e->state() & Qt::LeftButton &&
+ if (MouseInfo->getMode() == LABEL_TOOL &&
+ e->state() & Qt::LeftButton &&
(i_label = MouseInfo->getLabelNum(e)) >= 0) {
// Start a drag
More information about the Kst
mailing list