|
|
|
@ -604,6 +604,12 @@ void Notebook::toggle_split() { |
|
|
|
} |
|
|
|
} |
|
|
|
split=!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.set_show_tabs(Notebook::tabs_visible);
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
boost::filesystem::path Notebook::get_current_folder() { |
|
|
|
boost::filesystem::path Notebook::get_current_folder() { |
|
|
|
if(!Directories::get().path.empty()) |
|
|
|
if(!Directories::get().path.empty()) |
|
|
|
|