Don't show errors loading draft

This particularly prevents the initial error all users will see when the
app first loads.

TODO: implement something more elegant.
This commit is contained in:
Matt Baer 2018-12-14 00:31:05 -05:00
parent 9ba47ba191
commit 78a23713cf

View File

@ -83,7 +83,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
init_folder();
try {
open_file(draft_file());
} catch (Error err) {canvas.buffer.text = err.message;}
} catch (Error err) {}
restore_styles();
set_default_size(800, 600);