1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Add a Ctrl+Z undo shortcut.

See https://github.com/shlomif/PySolFC/issues/71 . It is the more
standard one.
This commit is contained in:
Shlomi Fish 2018-04-16 02:35:33 +03:00
parent 38bb0393f1
commit 3e595ae183

View file

@ -682,6 +682,7 @@ class PysolMenubarTkCommon:
self._bindKey(ctrl, "s", self.mSave)
self._bindKey(ctrl, "x", self.mHoldAndQuit)
self._bindKey(ctrl, "q", self.mQuit)
self._bindKey(ctrl, "z", self.mUndo)
self._bindKey("", "z", self.mUndo)
self._bindKey("", "BackSpace", self.mUndo) # undocumented
self._bindKey("", "KP_Enter", self.mUndo) # undocumented