summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-10 21:22:19 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-10 21:22:19 +0100
commit71ccd8535d02ef443c46c93af60a56c1d9ee3530 (patch)
tree5890889b9b60a31f52cfb00f5f284b2d7cd40055 /src
parent736401e61cbd908d96e57d08b24371b72bfc1b51 (diff)
Fix saving a template with a new name.v2.17.28
Diffstat (limited to 'src')
-rw-r--r--src/wx/save_template_dialog.cc2
1 files changed, 1 insertions, 1 deletions
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 ();