Skip to content

Commit 78a2371

Browse files
committed
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.
1 parent 9ba47ba commit 78a2371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/window.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
8383
init_folder();
8484
try {
8585
open_file(draft_file());
86-
} catch (Error err) {canvas.buffer.text = err.message;}
86+
} catch (Error err) {}
8787
restore_styles();
8888

8989
set_default_size(800, 600);

0 commit comments

Comments
 (0)