gui: remove Stop button (ESC handles it) and debug logs
This commit is contained in:
parent
5615f69d11
commit
65dee58a6a
|
|
@ -62,12 +62,8 @@ ApplicationWindow {
|
||||||
Shortcut {
|
Shortcut {
|
||||||
sequence: "Escape"
|
sequence: "Escape"
|
||||||
onActivated: {
|
onActivated: {
|
||||||
console.log("ESC shortcut, activeState:", ollie.activeState)
|
|
||||||
if (ollie.activeState !== "idle") {
|
if (ollie.activeState !== "idle") {
|
||||||
console.log("ESC: calling interrupt()")
|
|
||||||
ollie.interrupt()
|
ollie.interrupt()
|
||||||
} else {
|
|
||||||
console.log("ESC: ignored (idle)")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -619,11 +615,6 @@ ApplicationWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { Layout.fillWidth: true }
|
Item { Layout.fillWidth: true }
|
||||||
|
|
||||||
ToolButton {
|
|
||||||
text: "Stop"
|
|
||||||
onClicked: ollie.interrupt()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle { Layout.fillWidth: true; height: 1; color: theme.midColor }
|
Rectangle { Layout.fillWidth: true; height: 1; color: theme.midColor }
|
||||||
|
|
|
||||||
Reference in New Issue