Restored old behaviour when closing Editor Panel, no Issue
This commit is contained in:
parent
3f60637e7c
commit
b2f37ad1a3
@ -443,6 +443,7 @@ void RTWindow::remEditorPanel (EditorPanel* ep) {
|
|||||||
mainNB->remove_page (*ep);
|
mainNB->remove_page (*ep);
|
||||||
|
|
||||||
if (!isEditorPanel(mainNB->get_current_page())){
|
if (!isEditorPanel(mainNB->get_current_page())){
|
||||||
|
mainNB->set_current_page (mainNB->page_num (*fpanel));
|
||||||
set_title_decorated("");
|
set_title_decorated("");
|
||||||
} else {
|
} else {
|
||||||
EditorPanel* ep = static_cast<EditorPanel*>(mainNB->get_nth_page (mainNB->get_current_page()));
|
EditorPanel* ep = static_cast<EditorPanel*>(mainNB->get_nth_page (mainNB->get_current_page()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user