[qet] [4571] Fix Plus and Minus buttons zoom in and out of the editor.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4571
Author:   scorpio810
Date:     2016-07-12 20:07:32 +0200 (Tue, 12 Jul 2016)
Log Message:
-----------
Fix Plus and Minus buttons zoom in and out of the editor.

Modified Paths:
--------------
    trunk/sources/diagramview.cpp

Modified: trunk/sources/diagramview.cpp
===================================================================
--- trunk/sources/diagramview.cpp	2016-07-11 13:03:30 UTC (rev 4570)
+++ trunk/sources/diagramview.cpp	2016-07-12 18:07:32 UTC (rev 4571)
@@ -606,10 +606,10 @@
 		case Qt::Key_End:
 			current_project->changeLastTab();
 			return;
-		case Qt::Key_Minus:
+        case Qt::Key_ZoomOut:
 			zoom(0.85);
 			return;
-		case Qt::Key_Plus:
+        case Qt::Key_ZoomIn:
 			zoom(1.15);
 			return;
 		case Qt::Key_Up:


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/