Update toolwindowmanager to 9b0b99a

This commit is contained in:
baldurk
2017-06-01 11:28:40 +01:00
parent 59977e47de
commit 2b9f9665f9
6 changed files with 194 additions and 14 deletions
@@ -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;
}