aboutsummaryrefslogtreecommitdiffstats
path: root/.gitmodules
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-02 10:50:24 +0100
committerGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-07 00:13:35 +0200
commit3965ae2c89d30e424e52cb17cd6ecaf9e46ec0f0 (patch)
treedad70721d41cd9836cf2fc8d16a6b0a5e122e674 /.gitmodules
parentfe926d35f421af4d671f53a794941e5f936bd14f (diff)
downloadsubsurface-3965ae2c89d30e424e52cb17cd6ecaf9e46ec0f0.tar.gz
desktop: move undo-disabling from enterEditState to disableShortcuts
When entering the edit state, we don't want the user to be able to undo/redo lest things become inconsistent. Since the only way to enter edit state is to edit the profile, we can simply use the disableShortcuts() function that is used by the profile when it goes into edit state. This has one desirable side-effect: Undo is now also disabled in the planner. Undo during planning likewise can lead to inconsistent state. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions