diff --git a/CMakeLists.txt b/CMakeLists.txt index 92b3def..802286b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required (VERSION 2.8.8) project(juci) -set(JUCI_VERSION "1.2.3.1") +set(JUCI_VERSION "1.2.3.2") set(CPACK_PACKAGE_NAME "jucipp") set(CPACK_PACKAGE_CONTACT "Ole Christian Eidheim ") diff --git a/src/notebook.cc b/src/notebook.cc index 4801e5d..83bb288 100644 --- a/src/notebook.cc +++ b/src/notebook.cc @@ -605,10 +605,9 @@ void Notebook::toggle_split() { split=!split; } void Notebook::toggle_tabs() { - Notebook::tabs_visible=!Notebook::tabs_visible; - //Show / Hide tabs for each notebook. + //Show / Hide tabs for each notebook. for(auto ¬ebook : Notebook::notebooks) - notebook.set_show_tabs(Notebook::tabs_visible); + notebook.set_show_tabs(!notebook.get_show_tabs()); } boost::filesystem::path Notebook::get_current_folder() { diff --git a/src/notebook.h b/src/notebook.h index 163b864..3c08670 100644 --- a/src/notebook.h +++ b/src/notebook.h @@ -81,7 +81,6 @@ private: std::vector > tab_labels; bool split=false; - bool tabs_visible=true; //Flag set to true when the tabs are visible. size_t last_index=-1; void set_current_view(Source::View *view);