forked from qt-creator/qt-creator
QmlDesigner: Fix workspace list update on clone
Adds a missing emit of workspaceListChanged when cloning a workspace in the workspace manager. It will fix a missing update of the workspace ComboBox in the toolbar. Change-Id: Ic2eb3fe516841ba13456c7d94fe699518988ff7a Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
74ffff63eb
commit
04265b2651
@@ -805,6 +805,7 @@ namespace ADS
|
||||
d->m_workspaces.insert(1, clone);
|
||||
d->m_workspaceDateTimes
|
||||
.insert(clone, workspaceNameToFileName(clone).toFileInfo().lastModified());
|
||||
emit workspaceListChanged();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user