aboutsummaryrefslogtreecommitdiff
path: root/remote/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'remote/remote.c')
-rw-r--r--remote/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/remote.c b/remote/remote.c
index d266735d..f2d0f9c2 100644
--- a/remote/remote.c
+++ b/remote/remote.c
@@ -898,7 +898,7 @@ static HostDialog *host_dialog_new(GtkWidget * parent,
if (mode == HOST_DIALOG_MODE_EDIT) {
btn_save = gtk_button_new_from_stock(GTK_STOCK_SAVE);
- } else if (mode == HOST_DIALOG_MODE_CONNECT) {
+ } else {
btn_save = gtk_button_new_from_stock(GTK_STOCK_CONNECT);
}