Implemented proper updating of floating widget title
This commit is contained in:
@@ -500,6 +500,20 @@ void CFloatingDockContainer::onDockAreasAddedOrRemoved()
|
||||
}
|
||||
|
||||
|
||||
//============================================================================
|
||||
void CFloatingDockContainer::updateWindowTitle(const QString& Title)
|
||||
{
|
||||
if (Title.isEmpty())
|
||||
{
|
||||
this->setWindowTitle(qApp->applicationDisplayName());
|
||||
}
|
||||
else
|
||||
{
|
||||
this->setWindowTitle(Title);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//============================================================================
|
||||
void CFloatingDockContainer::onDockAreaCurrentChanged(int Index)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user