From: <ai...@us...> - 2013-02-26 19:25:39
|
Revision: 12293 http://plplot.svn.sourceforge.net/plplot/?rev=12293&view=rev Author: airwin Date: 2013-02-26 19:25:33 +0000 (Tue, 26 Feb 2013) Log Message: ----------- Drop processing mouse release and mouse move events, i.e., only process mouse press events. This fixed a qt device driver bug where clicking the right mouse key was processed twice (once with mouse press and once with mouse release) which lead to anomalous behaviour for multi-paged plots where instead of moving to the next page, it would move to the next and then immediately to the next (or exit if run out of pages). Modified Paths: -------------- trunk/bindings/qt_gui/plqt.cpp Modified: trunk/bindings/qt_gui/plqt.cpp =================================================================== --- trunk/bindings/qt_gui/plqt.cpp 2013-02-16 18:48:18 UTC (rev 12292) +++ trunk/bindings/qt_gui/plqt.cpp 2013-02-26 19:25:33 UTC (rev 12293) @@ -1120,12 +1120,12 @@ void QtPLWidget::mouseReleaseEvent( QMouseEvent * event ) { - mouseEvent( event ); + //mouseEvent( event ); } void QtPLWidget::mouseMoveEvent( QMouseEvent * event ) { - mouseEvent( event ); + //mouseEvent( event ); } void QtPLWidget::keyPressEvent( QKeyEvent* event ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |