Commit 6f3d4986 authored by Fredrik Edemar's avatar Fredrik Edemar

Leave the zoom mode if the user press the Escape key.

svn path=/branches/KDE/3.5/kdeedu/kmplot/; revision=458588
parent 2cc638a7
......@@ -1434,6 +1434,11 @@ void View::getYValue(Ufkt *ufkt, char p_mode, double x, double &y, const QStrin
void View::keyPressEvent( QKeyEvent * e)
if ( zoom_mode != Z_Normal && e->key() == Qt::Key_Escape )
if ( zoom_mode == Z_Center) //drawing a rectangle
zoom_mode = Z_Rectangular;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment