Commit 6b62d099 authored by David Schulz's avatar David Schulz

Editor: Close open editors popup on editor close

Task-number: QTCREATORBUG-8826

Change-Id: I4eaa6e7c2228deb0c10a4c428a2bb7ad1b975230
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 5c84e2ed
...@@ -887,6 +887,9 @@ bool EditorManager::closeEditors(const QList<IEditor*> &editorsToClose, bool ask ...@@ -887,6 +887,9 @@ bool EditorManager::closeEditors(const QList<IEditor*> &editorsToClose, bool ask
if (acceptedEditors.isEmpty()) if (acceptedEditors.isEmpty())
return false; return false;
// close Editor History list
windowPopup()->setVisible(false);
// add duplicates // add duplicates
QList<IEditor *> duplicates; QList<IEditor *> duplicates;
foreach (IEditor *editor, acceptedEditors) foreach (IEditor *editor, acceptedEditors)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment