Fix Plus and Minus buttons zoom in and out of the editor.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4571 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2016-07-12 18:07:32 +00:00
parent 77a9dd666e
commit c762106e8a

View File

@@ -606,10 +606,10 @@ switch(e -> key())
case Qt::Key_End: case Qt::Key_End:
current_project->changeLastTab(); current_project->changeLastTab();
return; return;
case Qt::Key_Minus: case Qt::Key_ZoomOut:
zoom(0.85); zoom(0.85);
return; return;
case Qt::Key_Plus: case Qt::Key_ZoomIn:
zoom(1.15); zoom(1.15);
return; return;
case Qt::Key_Up: case Qt::Key_Up: