simplify key handling logic

This commit is contained in:
Travis McLane
2024-03-07 09:03:32 -06:00
parent eedd5eb7d2
commit fb46cce963
+1 -1
View File
@@ -1353,7 +1353,7 @@ func onKeyPressEvent(widget *C.GtkWidget, event *C.GdkEventKey, userData C.uintp
acceleratorString: accelerator,
}
}
return C.gboolean(0)
return C.gboolean(1)
}
func getKeyboardState(event *C.GdkEventKey) (string, bool) {