diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-07 17:30:37 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-07 17:30:37 +0200 |
commit | 75dea5bdc0b9e882d120380fd403a0936b6e803d (patch) | |
tree | 2c12c5498d441307afef110a79ba4892d4015317 /gtk2_ardour/time_fx_dialog.h | |
parent | 68c106eab521ecbf85ac1d93b168b5814dda0df1 (diff) |
Drop region references when hiding the TimeFX dialog.
Diffstat (limited to 'gtk2_ardour/time_fx_dialog.h')
-rw-r--r-- | gtk2_ardour/time_fx_dialog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/time_fx_dialog.h b/gtk2_ardour/time_fx_dialog.h index 30ff116f26..426453ff48 100644 --- a/gtk2_ardour/time_fx_dialog.h +++ b/gtk2_ardour/time_fx_dialog.h @@ -78,6 +78,11 @@ public: Gtk::Dialog::on_response (response_id); } + void hide () { + regions.clear (); + ArdourDialog::hide (); + } + private: ARDOUR::framecnt_t original_length; Gtk::Adjustment pitch_octave_adjustment; |