diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-12-10 13:11:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-10 13:11:49 +0100 |
| commit | fa41211ccae24d75e940721bae68d3abe7f2e1ee (patch) | |
| tree | 406d73ec3b15c01935982300de421393b6a68f0d /fluid/undo.cxx | |
| parent | 5673072271cdd797de3fa0f3136ca3f1d219484e (diff) | |
FLUID event handling and UI changes (#575)
* Full support o when()
* Making undo suspend nesting
* Finally correct undo handling for Label: input
* Documentation.
* Adding more undo checkpoints for the Widget Panel
* Quick selection of default user_data types
* Pulldown menu for system colors
* Make sure that partially typed text fields are propagated before saving
Diffstat (limited to 'fluid/undo.cxx')
| -rw-r--r-- | fluid/undo.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/undo.cxx b/fluid/undo.cxx index 4f0b18cec..0e8da0fc8 100644 --- a/fluid/undo.cxx +++ b/fluid/undo.cxx @@ -207,10 +207,10 @@ void undo_clear() { // Resume undo checkpoints void undo_resume() { - undo_paused = 0; + undo_paused--; } // Suspend undo checkpoints void undo_suspend() { - undo_paused = 1; + undo_paused++; } |
