Commit 6daea3a7 authored by dt's avatar dt
Browse files

Fixes: Show all editors even not completly restored.

Task:     Reported on irc
RevBy:    mae
parent 465bf149
...@@ -225,7 +225,7 @@ void OpenEditorsWindow::setEditors(const QList<IEditor *>&editors, IEditor *curr ...@@ -225,7 +225,7 @@ void OpenEditorsWindow::setEditors(const QList<IEditor *>&editors, IEditor *curr
// add purely restored editors which are not initialised yet // add purely restored editors which are not initialised yet
foreach (EditorModel::Entry entry, model->entries()) { foreach (EditorModel::Entry entry, model->entries()) {
if (entry.editor) if (entry.editor)
return; continue;
QTreeWidgetItem *item = new QTreeWidgetItem(); QTreeWidgetItem *item = new QTreeWidgetItem();
QString title = entry.displayName(); QString title = entry.displayName();
item->setIcon(0, emptyIcon); item->setIcon(0, emptyIcon);
......
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