From f5a3a5b9ab362c58fa424261f313aa9cf46d2a98 Mon Sep 17 00:00:00 2001 From: Miguel Herranz Date: Sun, 7 Apr 2019 21:33:35 +0200 Subject: gui: Add close window shortcut CMD+W/CTRL+W is the standard shortcut to close a window without exiting the program. --- src/qt/splashscreen.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qt/splashscreen.cpp') diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index e19833019d..dc62f776b6 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -127,6 +127,8 @@ SplashScreen::SplashScreen(interfaces::Node& node, Qt::WindowFlags f, const Netw subscribeToCoreSignals(); installEventFilter(this); + + GUIUtil::handleCloseWindowShortcut(this); } SplashScreen::~SplashScreen() -- cgit v1.2.3