diff --git a/ui/mainwindow.cpp b/ui/mainwindow.cpp index 09747ffb5..495842e3c 100644 --- a/ui/mainwindow.cpp +++ b/ui/mainwindow.cpp @@ -1080,10 +1080,13 @@ void MainWindow::maximize_panel() { // store the current state of panels temp_panel_state = saveState(); - // remove all dock widgets + // remove all dock widgets that aren't the hovered panel for (int i=0;isetVisible(false); + + // set it to floating olive::panels.at(i)->setFloating(true); } }