Fix Ctrl+Tab

Amends f6d57999d8

That patch accidentally clears the document list before opening the
selected editor, instead of the other way round.

Change-Id: Ia694fe009b6922b2257da787346d3505f533a0c4
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Eike Ziller
2024-12-11 13:50:47 +01:00
parent 54c6a77392
commit e30a8a3902

View File

@@ -155,8 +155,8 @@ OpenEditorsWindow::OpenEditorsWindow(QWidget *parent)
void OpenEditorsWindow::selectAndHide()
{
setVisible(false);
selectEditor(m_editorView->currentItem());
setVisible(false);
}
void OpenEditorsWindow::setVisible(bool visible)