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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/editor.c b/src/gui/editor.c
index d44d2af..2488a27 100644
--- a/src/gui/editor.c
+++ b/src/gui/editor.c
@@ -1385,7 +1385,7 @@ static void on_dock_item_switch(GtkDockStation *station, GtkWidget *widget, gpoi
g_object_unref(G_OBJECT(old_binary));
g_object_ref(G_OBJECT(widget));
- change_editor_items_current_view(GTK_DISPLAY_PANEL(widget));
+ change_editor_items_current_view(G_LOADED_PANEL(widget));
}