summaryrefslogtreecommitdiff
path: root/src/gui/editor.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-02-15 13:27:35 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-02-15 13:27:35 (GMT)
commitef90ffc686eb0dc1aa1567c6ceaff3843970a597 (patch)
treec26f7a17fd89f1558bc1775183d6b905d21bccd0 /src/gui/editor.c
parent04b1ee00d25383f977f59703e4c0bc66ad1faa81 (diff)
Chosen the default view displayed after a binary loading.
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 69eb2a6..f45acbd 100644
--- a/src/gui/editor.c
+++ b/src/gui/editor.c
@@ -927,7 +927,7 @@ static void on_editor_loaded_content_added(GStudyProject *project, GLoadedConten
const char *lname; /* Description du binaire */
GPanelItem *panel; /* Nouveau panneau à integrer */
- selected = g_loaded_content_build_view(content, 0);
+ selected = g_loaded_content_build_default_view(content);
name = g_loaded_content_describe(content, false);
lname = g_loaded_content_describe(content, true);