summaryrefslogtreecommitdiff
path: root/src/gui/editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editor.c')
-rw-r--r--src/gui/editor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/editor.c b/src/gui/editor.c
index e5a16d1..05afa64 100644
--- a/src/gui/editor.c
+++ b/src/gui/editor.c
@@ -705,6 +705,12 @@ static void on_dock_item_switch(GtkDockStation *station, GtkWidget *widget, gpoi
}
+ else
+ {
+ change_editor_items_current_content(NULL);
+ change_editor_items_current_view(NULL);
+ }
+
}