summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/menus/project.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/menus/project.c b/src/gui/menus/project.c
index 2930a95..c46c017 100644
--- a/src/gui/menus/project.c
+++ b/src/gui/menus/project.c
@@ -228,8 +228,8 @@ static void mcb_project_add_shellcode(GtkMenuItem *menuitem, GMenuBar *bar)
if (binary != NULL)
{
- g_signal_connect(binary, "disassembly-done",
- G_CALLBACK(g_study_project_add_loaded_binary), get_current_project());
+ g_signal_connect_swapped(binary, "disassembly-done",
+ G_CALLBACK(g_study_project_attach_binary), get_current_project());
g_loaded_binary_analyse(binary);
}