diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/markers_dialog.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/wx/markers_dialog.cc b/src/wx/markers_dialog.cc index 04a3b878c..205d44195 100644 --- a/src/wx/markers_dialog.cc +++ b/src/wx/markers_dialog.cc @@ -69,11 +69,17 @@ public: set_sensitivity (); set_button->Bind (wxEVT_BUTTON, bind(&Marker::set, this)); - checkbox->Bind (wxEVT_CHECKBOX, bind(&Marker::set_sensitivity, this)); + checkbox->Bind (wxEVT_CHECKBOX, bind(&Marker::checkbox_clicked, this)); timecode->Changed.connect (bind(&Marker::changed, this)); } private: + void checkbox_clicked () + { + set_sensitivity (); + changed (); + } + void set_sensitivity () { timecode->Enable (checkbox->GetValue()); |
