diff --git a/gui/main.qml b/gui/main.qml index 533dd6c..da6dbda 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -59,6 +59,13 @@ ApplicationWindow { palette.disabled.light: theme.lightColor palette.disabled.shadow: theme.shadowColor + Keys.onEscapePressed: { + if (ollie.activeState !== "idle") { + event.accepted = true + ollie.interrupt() + } + } + // Deferred scroll timer — fires once after model changes settle Timer { id: scrollTimer