mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-26 07:35:37 +00:00
Update toolwindowmanager to 9b0b99a
This commit is contained in:
@@ -76,11 +76,11 @@ void ToolWindowManagerArea::addToolWindows(const QList<QWidget *> &toolWindows,
|
||||
foreach(QWidget* toolWindow, toolWindows) {
|
||||
index = insertTab(insertIndex, toolWindow, toolWindow->windowIcon(), toolWindow->windowTitle());
|
||||
insertIndex = index+1;
|
||||
if(m_manager->toolWindowProperties(toolWindow) & ToolWindowManager::HideCloseButton) {
|
||||
showCloseButton(tabBar(), index, false);
|
||||
}
|
||||
}
|
||||
setCurrentIndex(index);
|
||||
for (int i=0; i < count(); i++) {
|
||||
updateToolWindow(widget(i));
|
||||
}
|
||||
m_manager->m_lastUsedArea = this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user