Commit 9d4df205 authored by Jan Paul Batrina's avatar Jan Paul Batrina Committed by Kurt Hindenburg
Browse files

Unmaximize terminal before moving to new tab

This ensures that all the other terminals (in other splits)
will still be visible after moving the maximized terminal
to a new tab.
parent 9cab1758
......@@ -708,5 +708,7 @@ void TabbedViewContainer::setNavigationBehavior(int behavior)
}
void TabbedViewContainer::moveToNewTab(TerminalDisplay* display) {
// Ensure that the current terminal is not maximized so that the other views will be shown properly
activeViewSplitter()->handleMinimizeMaximize(false);
addView(display);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment