Switched to ToolButton instead of PushButtons for Close- and TabsMenu button in dock area title bar
This commit is contained in:
@@ -271,7 +271,6 @@ bool DockManagerPrivate::restoreState(const QByteArray &state, int version)
|
||||
CDockAreaWidget* DockArea = DockContainer->dockArea(i);
|
||||
QString DockWidgetName = DockArea->property("currentDockWidget").toString();
|
||||
CDockWidget* DockWidget = _this->findDockWidget(DockWidgetName);
|
||||
std::cout << "restore DockWIdgetName " << DockWidget->objectName().toStdString() << std::endl;
|
||||
if (!DockWidget->isClosed())
|
||||
{
|
||||
DockArea->internalSetCurrentDockWidget(DockWidget);
|
||||
|
||||
Reference in New Issue
Block a user