+ if (rc_option_editor == 0) {
+ rc_option_editor = new RCOptionEditor;
+ rc_option_editor->signal_unmap().connect(sigc::bind (sigc::ptr_fun(&ActionManager::uncheck_toggleaction), X_("<Actions>/Common/ToggleRCOptionsEditor")));
+ rc_option_editor->set_session (session);
+ }
+
+ RefPtr<Action> act = ActionManager::get_action (X_("Common"), X_("ToggleRCOptionsEditor"));