diff options
| author | Matthias Melcher <github@matthiasm.com> | 2026-01-04 20:43:26 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2026-01-04 20:43:34 +0100 |
| commit | 7306b66d99fb529d65ddda1ea8e093454d7005e1 (patch) | |
| tree | 13803f53b2e921985abe54804b8d9131c46b9c3d /fluid/Fluid.cxx | |
| parent | 811a188bbf276841365f2ad4b11197f5820fe571 (diff) | |
Fluid: Add automated MergeBack
Diffstat (limited to 'fluid/Fluid.cxx')
| -rw-r--r-- | fluid/Fluid.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fluid/Fluid.cxx b/fluid/Fluid.cxx index bfbd5902c..8d1bd29d3 100644 --- a/fluid/Fluid.cxx +++ b/fluid/Fluid.cxx @@ -234,6 +234,7 @@ int Application::run(int argc,char **argv) { } #endif + start_auto_mergeback(); Fl::run(); proj.undo.clear(); @@ -507,7 +508,9 @@ bool Application::open_project_file(const std::string &filename_arg) { // clear the project and merge a file by the given name new_project(false); - return merge_project_file(new_filename); + bool success = merge_project_file(new_filename); + if (success) mergeback_on_load(); + return success; } |
