The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Make sure save command is finished before starting a new thread

These changes was commited to the Birdfont repository Sat, 28 Mar 2015 22:59:14 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Sat, 28 Mar 2015 22:59:14 +0000]

Updated Files

libbirdfont/MenuTab.vala
--- a/libbirdfont/MenuTab.vala +++ b/libbirdfont/MenuTab.vala @@ -438,7 +438,7 @@ } public static void save_as () { - if (MenuTab.suppress_event) { + if (MenuTab.suppress_event || !save_callback.is_done) { warn_if_test ("Event suppressed"); return; } @@ -448,7 +448,7 @@ } public static void save () { - if (MenuTab.suppress_event) { + if (MenuTab.suppress_event && !save_callback.is_done) { warn_if_test ("Event suppressed"); return; }