diff --git a/qt/src/EmuApplication.cpp b/qt/src/EmuApplication.cpp index 6787a78c..75927922 100644 --- a/qt/src/EmuApplication.cpp +++ b/qt/src/EmuApplication.cpp @@ -386,6 +386,10 @@ void EmuApplication::handleBinding(std::string name, bool pressed) { window->openFile(); } + else if (name == "Quit" && pressed) + { + window->close(); + } } bool EmuApplication::isBound(EmuBinding b) @@ -741,4 +745,4 @@ void EmuThread::run() void EmuThread::setMainLoop(std::function loop) { main_loop = loop; -} \ No newline at end of file +}