mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-15 02:11:22 +00:00
Update toolwindowmanager to 9b0b99a
This commit is contained in:
1 parent
59977e47de
commit
2b9f9665f9
6 files changed
+194
-14
No files matched your search
@@ -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