fix: locate file in files view should show files view in the left panel
This commit is contained in:
parent
9d829876b3
commit
24c2262c95
|
@ -4680,6 +4680,8 @@ void MainWindow::on_actionLocate_in_Files_View_triggered()
|
||||||
if (!fileDir.isEmpty()) {
|
if (!fileDir.isEmpty()) {
|
||||||
setFilesViewRoot(fileDir);
|
setFilesViewRoot(fileDir);
|
||||||
ui->treeFiles->setCurrentIndex(mFileSystemModel.index(editor->filename()));
|
ui->treeFiles->setCurrentIndex(mFileSystemModel.index(editor->filename()));
|
||||||
|
ui->tabInfos->setCurrentWidget(ui->tabFiles);
|
||||||
|
openCloseLeftPanel(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue