Skip to content

Commit

Permalink
fix Enter key on file in Files on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Jan 5, 2025
1 parent b210e57 commit 7052998
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/docks/filesdock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,8 @@ void FilesDock::keyPressEvent(QKeyEvent *event)
ui->treeView->setCurrentIndex(dirsIndex);
return;
}
openClip(filePath);
if (!MAIN.open(filePath))
openClip(filePath);
}
}
event->accept();
Expand Down

0 comments on commit 7052998

Please sign in to comment.