Browse Source

Did not intend to delete this function in last commit.

merge-requests/365/head
eidheim 11 years ago
parent
commit
27cff8be26
  1. 4
      juci/notebook.cc

4
juci/notebook.cc

@ -372,6 +372,10 @@ void Notebook::Controller::set_source_handlers(Source::Controller& controller) {
}); });
} }
std::string Notebook::Controller::CurrentPagePath(){
return text_vec_.at(CurrentPage())->parser.file_path;
}
bool Notebook::Controller:: OnSaveFile() { bool Notebook::Controller:: OnSaveFile() {
std::string path=text_vec_.at(CurrentPage())->view->file_path; std::string path=text_vec_.at(CurrentPage())->view->file_path;
return OnSaveFile(path); return OnSaveFile(path);

Loading…
Cancel
Save