Fix sensitivity of stuff in KDM output panel.
authorCarl Hetherington <cth@carlh.net>
Fri, 29 Dec 2017 19:49:36 +0000 (19:49 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 29 Dec 2017 19:49:36 +0000 (19:49 +0000)
src/wx/kdm_output_panel.cc

index 6cd1af2681e5ba137a1df9e17351387954c68768..29b697b894b4d47e70c9c34ee1358d72cb734ab0 100644 (file)
@@ -134,8 +134,8 @@ KDMOutputPanel::KDMOutputPanel (wxWindow* parent, bool interop)
 
        _write_to->SetValue (true);
 
-       _write_to->Bind (wxEVT_RADIOBUTTON, boost::bind (&KDMOutputPanel::setup_sensitivity, this));
-       _email->Bind    (wxEVT_RADIOBUTTON, boost::bind (&KDMOutputPanel::setup_sensitivity, this));
+       _write_to->Bind (wxEVT_CHECKBOX, boost::bind (&KDMOutputPanel::setup_sensitivity, this));
+       _email->Bind    (wxEVT_CHECKBOX, boost::bind (&KDMOutputPanel::setup_sensitivity, this));
 
        SetSizer (table);
 }