diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 9efc93dbc7..fb1f5be808 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -1357,7 +1357,7 @@ namespace Terminal { string[] opened_tabs = {}; int focused_tab = 0; - if (save_zooms) { + if (save_zooms && current_terminal != null) { Application.saved_state.set_double ("zoom", current_terminal.font_scale); }