mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
Update from toolwindowmanager repository @ 984f7fb
This commit is contained in:
@@ -81,6 +81,7 @@ void ToolWindowManagerArea::addToolWindows(const QList<QWidget *> &toolWindows,
|
||||
foreach(QWidget *toolWindow, toolWindows)
|
||||
{
|
||||
index = insertTab(insertIndex, toolWindow, toolWindow->windowIcon(), toolWindow->windowTitle());
|
||||
tabBar()->setTabToolTip(index, toolWindow->windowTitle());
|
||||
insertIndex = index + 1;
|
||||
}
|
||||
setCurrentIndex(index);
|
||||
@@ -112,6 +113,7 @@ void ToolWindowManagerArea::updateToolWindow(QWidget *toolWindow)
|
||||
else
|
||||
showCloseButton(tabBar(), index, true);
|
||||
tabBar()->setTabText(index, toolWindow->windowTitle());
|
||||
tabBar()->setTabToolTip(index, toolWindow->windowTitle());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user