diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-07 15:48:24 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-12-07 15:48:24 +0000 |
commit | 186283a3c484a71ad61d4e0db13efea6f1d9280c (patch) | |
tree | bde91861daead65ed5c0bc3204223e9d1a955dfb /gtk2_ardour/ardour_ui_options.cc | |
parent | 81b5814098882f6f3830a3f38b3a59d86c708aee (diff) |
fix, or at least improve, management of the editor toolbar when maximising editing space
git-svn-id: svn://localhost/ardour2/branches/3.0@10936 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index 7fab6e5691..27750eeb43 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -279,6 +279,7 @@ void ARDOUR_UI::toggle_editing_space() { Glib::RefPtr<Action> act = ActionManager::get_action ("Common", "ToggleMaximalEditor"); + if (act) { Glib::RefPtr<ToggleAction> tact = Glib::RefPtr<ToggleAction>::cast_dynamic(act); if (tact->get_active()) { |