mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Minor fix
This commit is contained in:
@@ -69,8 +69,7 @@ namespace BlackGui
|
||||
|
||||
bool CEnableForDockWidgetInfoArea::isVisibleWidget() const
|
||||
{
|
||||
Q_ASSERT(this->m_parentDockableInfoArea);
|
||||
if (!this->m_parentDockableInfoArea) { return false; }
|
||||
if (!this->m_parentDockableInfoArea) { return false; } // can happen function is used while dock widget not yet fully initialized
|
||||
return this->m_parentDockableInfoArea->isVisibleWidget();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user