summaryrefslogtreecommitdiff
path: root/gtk2_ardour/tempo_dialog.h
diff options
context:
space:
mode:
authorJulien de Kozak <jdekozak@hotmail.com>2014-12-07 13:54:05 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2014-12-18 10:49:12 -0500
commit444ec162ae03958abf460206cfcd93d37baf09bb (patch)
treee553848fdba6edd489d5eebb184b1bda865240bd /gtk2_ardour/tempo_dialog.h
parent74be550698d19758f5ccd0578f2ec4d07edadcb0 (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.h2
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 ();