fix typo, restore preference tab
authorSven GestegÄrd Robertz <sven.robertz@gmail.com>
Sun, 15 May 2016 12:45:34 +0000 (14:45 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 15 May 2016 12:45:34 +0000 (14:45 +0200)
gtk2_ardour/ardour_ui_ed.cc

index 5278c247f2d1ed3f3cc4511780371d88932bfbad..596aa07127460c2ea7c550e164119fd08348a0c9 100644 (file)
@@ -704,7 +704,7 @@ ARDOUR_UI::save_ardour_state ()
        } else if (current_page_number == _tabs.page_num (mixer->contents())) {
                current_tab = "mixer";
        } else if (current_page_number == _tabs.page_num (rc_option_editor->contents())) {
-               current_tab == "preferences";
+               current_tab = "preferences";
        }
 
        main_window_node.add_property (X_("current-tab"), current_tab);