diff options
author | Julien de Kozak <jdekozak@hotmail.com> | 2014-12-07 13:54:05 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-18 10:49:12 -0500 |
commit | 444ec162ae03958abf460206cfcd93d37baf09bb (patch) | |
tree | e553848fdba6edd489d5eebb184b1bda865240bd /gtk2_ardour/tempo_dialog.h | |
parent | 74be550698d19758f5ccd0578f2ec4d07edadcb0 (diff) |
Fix crash if new tempo is set to start at bar #0
Diffstat (limited to 'gtk2_ardour/tempo_dialog.h')
-rw-r--r-- | gtk2_ardour/tempo_dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/tempo_dialog.h b/gtk2_ardour/tempo_dialog.h index 616be2433e..da924ac859 100644 --- a/gtk2_ardour/tempo_dialog.h +++ b/gtk2_ardour/tempo_dialog.h @@ -47,6 +47,7 @@ public: private: void init (const Timecode::BBT_Time& start, double, double, bool); + bool is_user_input_valid() const; void bpm_changed (); bool bpm_button_press (GdkEventButton* ); bool bpm_button_release (GdkEventButton* ); @@ -84,6 +85,7 @@ public: private: void init (const Timecode::BBT_Time&, double, double, bool); + bool is_user_input_valid() const; bool entry_key_press (GdkEventKey* ); bool entry_key_release (GdkEventKey* ); void note_type_change (); |