From 1136c1d9e5c29acc42e1c4baf24b967ce62c5548 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Wed, 22 Aug 2018 23:32:14 +0200 Subject: Refreshed the editor when no content is loaded. --- src/gui/editor.c | 6 ++++++ 1 file changed, 6 insertions(+) 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); + } + } -- cgit v0.11.2-87-g4458