From b0cbd9b00f8746cf1f48b18b75275cae1b45aa90 Mon Sep 17 00:00:00 2001 From: Physiix Date: Wed, 15 Feb 2017 19:50:03 -0500 Subject: [PATCH] Indentation --- src/notebook.cc | 6 +++--- src/notebook.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/notebook.cc b/src/notebook.cc index 4d361f6..4801e5d 100644 --- a/src/notebook.cc +++ b/src/notebook.cc @@ -605,9 +605,9 @@ void Notebook::toggle_split() { split=!split; } void Notebook::toggle_tabs() { - Notebook::tabs_visible =! Notebook::tabs_visible; - //Show / Hide tabs for each notbook. - for(auto& notebook : Notebook::notebooks) + Notebook::tabs_visible=!Notebook::tabs_visible; + //Show / Hide tabs for each notebook. + for(auto ¬ebook : Notebook::notebooks) notebook.set_show_tabs(Notebook::tabs_visible); } diff --git a/src/notebook.h b/src/notebook.h index 4a19833..163b864 100644 --- a/src/notebook.h +++ b/src/notebook.h @@ -81,7 +81,7 @@ private: std::vector > tab_labels; bool split=false; - bool tabs_visible = true; //Flag set to true when the tabs are visible. + 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);