qt: fixed strange UI issue where hidden floating dock widgets would show as

transparent cuts through the main window on linux

For some reason, setting not visible *after* setting floating would cause this
issue. The other way around does not.
This commit is contained in:
itsmattkc
2020-01-26 11:38:24 +11:00
parent 8b0c7edfec
commit 6bef94b3e2
+2 -2
View File
@@ -158,10 +158,10 @@ void MainWindow::closeEvent(QCloseEvent *e)
void MainWindow::SetDefaultLayout()
{
task_man_panel_->close();
task_man_panel_->setFloating(true);
task_man_panel_->setVisible(false);
curve_panel_->close();
curve_panel_->setFloating(true);
curve_panel_->setVisible(false);
resizeDocks({node_panel_, param_panel_, viewer_panel_},
{width()/3, width()/3, width()/3},