diff --git a/src/docks/filesdock.cpp b/src/docks/filesdock.cpp index a1527dbc8d..dfa835a6cb 100644 --- a/src/docks/filesdock.cpp +++ b/src/docks/filesdock.cpp @@ -1160,7 +1160,8 @@ void FilesDock::keyPressEvent(QKeyEvent *event) ui->treeView->setCurrentIndex(dirsIndex); return; } - openClip(filePath); + if (!MAIN.open(filePath)) + openClip(filePath); } } event->accept();