From b2f37ad1a3e0f9c43627f4bf151c652fdb1d0ee4 Mon Sep 17 00:00:00 2001 From: Ingo Date: Tue, 4 Nov 2014 20:04:06 +0100 Subject: [PATCH] Restored old behaviour when closing Editor Panel, no Issue --- rtgui/rtwindow.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/rtgui/rtwindow.cc b/rtgui/rtwindow.cc index da3a5a04f..f1fc8a050 100644 --- a/rtgui/rtwindow.cc +++ b/rtgui/rtwindow.cc @@ -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(mainNB->get_nth_page (mainNB->get_current_page()));