summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/menuhandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/menuhandler.cpp b/src/menuhandler.cpp
index 55903ba..8eaeabb 100644
--- a/src/menuhandler.cpp
+++ b/src/menuhandler.cpp
@@ -375,9 +375,11 @@ bool MenuHandler::eventFilter( TQObject *o, TQEvent * e )
break;
}
+ case TQt::Key_Escape:
+ close();
+
default:
return false;
- break;
}
return true;
}