From 71ccd8535d02ef443c46c93af60a56c1d9ee3530 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 10 Dec 2024 21:22:19 +0100 Subject: Fix saving a template with a new name. --- src/wx/save_template_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/save_template_dialog.cc b/src/wx/save_template_dialog.cc index 0917387c9..4336c3723 100644 --- a/src/wx/save_template_dialog.cc +++ b/src/wx/save_template_dialog.cc @@ -54,7 +54,7 @@ SaveTemplateDialog::SaveTemplateDialog (wxWindow* parent) _default->Bind(wxEVT_RADIOBUTTON, boost::bind(&SaveTemplateDialog::setup_sensitivity, this)); _existing->Bind(wxEVT_RADIOBUTTON, boost::bind(&SaveTemplateDialog::setup_sensitivity, this)); _new->Bind(wxEVT_RADIOBUTTON, boost::bind(&SaveTemplateDialog::setup_sensitivity, this)); - _existing_name->Bind(wxEVT_TEXT, boost::bind(&SaveTemplateDialog::setup_sensitivity, this)); + _new_name->Bind(wxEVT_TEXT, boost::bind(&SaveTemplateDialog::setup_sensitivity, this)); setup_sensitivity (); -- cgit v1.2.3