Avoid shadowing Python typing and retain pending mixed input selections

This commit is contained in:
David Heinemeier Hansson committed 2026-10-09 17:00:14 +02:00
1 parent 639cf3ee5e
commit f28a652347
8 files changed
+41 -14

No files matched your search

+1 -3
View File
@@ -244,9 +244,7 @@ BarWidget {
horizontalMargin: 6
tooltipText: KeyboardLayoutModel.inputTooltip(root.inputState, root.layoutFull, root.multipleLayouts)
onPressed: function(button) {
if (root.multipleLayouts && button === Qt.LeftButton) {
root.bar.run("omarchy-input-method cycle")
} else if (root.multipleInputs && button === Qt.LeftButton) {
if ((root.multipleInputs || root.multipleLayouts) && button === Qt.LeftButton) {
InputMethodState.cycle()
} else if (root.multipleLayouts) {
root.cycleLayout()