From 0615eab81d0a1ee60ded886d34dbda19e9983eb3 Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Wed, 1 Feb 2023 23:46:40 +0100 Subject: [PATCH] Ignore any key that is used to abort the shutdown sequence (closes #2478) --- src/engine/openspaceengine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/openspaceengine.cpp b/src/engine/openspaceengine.cpp index 4570dea0a1..e8a3eee090 100644 --- a/src/engine/openspaceengine.cpp +++ b/src/engine/openspaceengine.cpp @@ -1371,6 +1371,7 @@ void OpenSpaceEngine::keyboardCallback(Key key, KeyModifier mod, KeyAction actio global::eventEngine->publishEvent( events::EventApplicationShutdown::State::Aborted ); + return; } using F = global::callback::KeyboardCallback;