Restored old behaviour when closing Editor Panel, no Issue

This commit is contained in:
Ingo 2014-11-04 20:04:06 +01:00
parent 3f60637e7c
commit b2f37ad1a3

View File

@ -443,6 +443,7 @@ void RTWindow::remEditorPanel (EditorPanel* ep) {
mainNB->remove_page (*ep);
if (!isEditorPanel(mainNB->get_current_page())){
mainNB->set_current_page (mainNB->page_num (*fpanel));
set_title_decorated("");
} else {
EditorPanel* ep = static_cast<EditorPanel*>(mainNB->get_nth_page (mainNB->get_current_page()));