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:
parent
9ba47ba191
commit
78a23713cf
@ -83,7 +83,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
|
|||||||
init_folder();
|
init_folder();
|
||||||
try {
|
try {
|
||||||
open_file(draft_file());
|
open_file(draft_file());
|
||||||
} catch (Error err) {canvas.buffer.text = err.message;}
|
} catch (Error err) {}
|
||||||
restore_styles();
|
restore_styles();
|
||||||
|
|
||||||
set_default_size(800, 600);
|
set_default_size(800, 600);
|
||||||
|
Loading…
Reference in New Issue
Block a user