fix: fix bug in watcher dockwidget

1.fix bug about watcher window is not displayed when first startup.

Log: fix bug
Change-Id: I684152a79bb8f1d6c3574d064d74ac3a1cb393d6
This commit is contained in:
zhouyi 2022-09-14 17:09:16 +08:00
parent 420bda5c33
commit 8eed09aec5
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ void NavEditMainWindow::setWidgetWatch(AbstractWidget *watchWidget)
qWidgetWatch->setParent(qDockWidgetWatch);
qDockWidgetWatch->setWidget(qWidgetWatch);
qDockWidgetWatch->hide();
qWidgetWatch->hide();
}
}