Core: Overlay: Improve AutoTask mode (#26768)
This commit is contained in:
@@ -1249,6 +1249,10 @@ bool OverlayTabWidget::checkAutoHide() const
|
||||
&& (!Control().taskPanel() || Control().taskPanel()->isEmpty(false));
|
||||
}
|
||||
|
||||
if (autoMode == AutoMode::TaskShow) {
|
||||
return (!Control().taskPanel() || Control().taskPanel()->isEmpty());
|
||||
}
|
||||
|
||||
if (autoMode == AutoMode::EditHide && Application::Instance->editDocument()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user