Skip to content

Commit

Permalink
fix: work around to fix ctrl+F in macos popup
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed Jul 6, 2024
1 parent 55f8a31 commit a174c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,7 @@ ArticleView * MainWindow::createNewTab( bool switchToIt, QString const & name )

connect( ui.searchInPageAction, &QAction::triggered, this, [ this, view ]() {
#ifdef Q_OS_MACOS
#workaround to fix macos popup page search Ctrl + F
//workaround to fix macos popup page search Ctrl + F
if ( scanPopup && scanPopup->isActiveWindow() ) {
scanPopup->openSearch();
return;
Expand Down

0 comments on commit a174c32

Please sign in to comment.