Browse Source

Fixes to #320: increased juci minute version and removed unneeded tabs_visible flag

merge-requests/365/head
eidheim 9 years ago
parent
commit
4d1ef611a8
  1. 2
      CMakeLists.txt
  2. 3
      src/notebook.cc
  3. 1
      src/notebook.h

2
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 <eidheim@gmail.com>")

3
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.
for(auto &notebook : Notebook::notebooks)
notebook.set_show_tabs(Notebook::tabs_visible);
notebook.set_show_tabs(!notebook.get_show_tabs());
}
boost::filesystem::path Notebook::get_current_folder() {

1
src/notebook.h

@ -81,7 +81,6 @@ private:
std::vector<std::unique_ptr<TabLabel> > 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);

Loading…
Cancel
Save