diff options
author | Doug McLain <doug@nostar.net> | 2008-01-06 16:27:39 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2008-01-06 16:27:39 +0000 |
commit | ea1e32c785247ac893d498f5384d3fa3a042a3db (patch) | |
tree | ac8cb9b0ef8e1550c3b17d73e2bdbe6e5504e2af /gtk2_ardour/ardour_ui_options.cc | |
parent | 8134233249158635f5a44c41f4f7d57b94526a46 (diff) |
fixed the Enable Editor Meters option not being selected on startup
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2831 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index fb92900346..337570cb2b 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -30,6 +30,7 @@ #include "ardour_ui.h" #include "actions.h" #include "gui_thread.h" +#include "public_editor.h" #include "i18n.h" @@ -1113,6 +1114,9 @@ ARDOUR_UI::parameter_changed (const char* parameter_name) ActionManager::map_some_state ("options", "SecondaryClockDeltaEditCursor", &Configuration::get_secondary_clock_delta_edit_cursor); } else if (PARAM_IS ("only-copy-imported-files")) { map_only_copy_imported_files (); + } else if (PARAM_IS ("show-track-meters")) { + ActionManager::map_some_state ("options", "ShowTrackMeters", &Configuration::get_show_track_meters); + editor->toggle_meter_updating(); } |