Fix check state of the auto hide button
when dragging the container into a floating window
This commit is contained in:
@@ -800,6 +800,15 @@ void CDockAreaWidget::markTitleBarMenuOutdated()
|
||||
}
|
||||
|
||||
|
||||
//============================================================================
|
||||
void CDockAreaWidget::updateAutoHidebuttonCheckState()
|
||||
{
|
||||
auto autoHideButton = titleBarButton(TitleBarButtonAutoHide);
|
||||
autoHideButton->blockSignals(true);
|
||||
autoHideButton->setChecked(isOverlayed());
|
||||
autoHideButton->blockSignals(false);
|
||||
}
|
||||
|
||||
|
||||
//============================================================================
|
||||
void CDockAreaWidget::saveState(QXmlStreamWriter& s) const
|
||||
|
||||
Reference in New Issue
Block a user