aboutsummarylogtreecommitdiffstats
path: root/gtk_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk_win.c')
-rw-r--r--gtk_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk_win.c b/gtk_win.c
index 756a516c6847..8a3da9157609 100644
--- a/gtk_win.c
+++ b/gtk_win.c
@@ -119,7 +119,7 @@ void on_load_button_clicked(GtkButton* button) {
// If file is not a JSON array (encrypted), show password dialog and return
if (!is_string_json_array(app.portfolio_string)) {
- gtk_entry_set_text(GTK_ENTRY("password_entry"), "");
+ gtk_entry_set_text(GTK_ENTRY(GET_OBJECT("password_entry")), "");
gtk_widget_show(GTK_WIDGET(GET_OBJECT("get_password_dialog")));// Decode
return;
}