summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rhythm_ferret.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-04-07 00:29:02 +0200
committerRobin Gareus <robin@gareus.org>2017-04-07 00:29:21 +0200
commitbcab83205b07559f6eb404b03c3be43acb5fbbf9 (patch)
tree5c45b06490051e0fa0fc452d802ae27935596b3d /gtk2_ardour/rhythm_ferret.cc
parentb38e81d2617f8c50ca8bdc7181d0bb355b7d306c (diff)
Keep the RhythmFerret dialog window around after using an action.
Since 5.8-245-g3e43585fa, a response hides the dialog Window in ArdourDialog::on_response (to prevent dialogs windows staying around unresponsive while Ardour does background work). The RF is special, and also the only dialog using explicit add_action_widget().
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r--gtk2_ardour/rhythm_ferret.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc
index 2106f487d2..aa4a8c908a 100644
--- a/gtk2_ardour/rhythm_ferret.cc
+++ b/gtk2_ardour/rhythm_ferret.cc
@@ -173,6 +173,12 @@ RhythmFerret::RhythmFerret (Editor& e)
}
void
+RhythmFerret::on_response (int response_id)
+{
+ Gtk::Dialog::on_response (response_id);
+}
+
+void
RhythmFerret::analysis_mode_changed ()
{
bool const perc = get_analysis_mode() == PercussionOnset;