Show filename of currently opened image in titlebar (issue 2450)

Thanks for help, Ingo!
This commit is contained in:
michael
2014-08-08 08:56:36 -04:00
parent 8ea5c6dbb1
commit 878e0865a7
7 changed files with 81 additions and 16 deletions

View File

@@ -1644,11 +1644,16 @@ void Preferences::workflowUpdate (){
if(moptions.tabbedUI != options.tabbedUI) {
parent->MoveFileBrowserToMain();
parent->CloseOpenEditors();
parent->SetMainCurrent();
if(moptions.tabbedUI)
if(moptions.tabbedUI){
parent->epanel->hide_all();
else
parent->set_title_decorated("");
}
else{
parent->epanel->show_all();
parent->set_title_decorated(parent->epanel->getFileName());
}
}
if(moptions.hideTPVScrollbar != options.hideTPVScrollbar) {
// Update the tool panels