forked from qt-creator/qt-creator
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:
@@ -155,8 +155,8 @@ OpenEditorsWindow::OpenEditorsWindow(QWidget *parent)
|
||||
|
||||
void OpenEditorsWindow::selectAndHide()
|
||||
{
|
||||
setVisible(false);
|
||||
selectEditor(m_editorView->currentItem());
|
||||
setVisible(false);
|
||||
}
|
||||
|
||||
void OpenEditorsWindow::setVisible(bool visible)
|
||||
|
Reference in New Issue
Block a user