Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zjeffer committed Feb 21, 2025
1 parent 31832a6 commit 67b6351
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3676,10 +3676,9 @@ bool MainWindow::eventFilter(QObject *object, QEvent *event)
}
case QEvent::ActivationChange: {
if (m_editorSettingsWidget->isHidden()) {
QApplication::setActiveWindow(
this); // TODO: The docs say this function is deprecated but it's the only one
// that works in returning the user input from m_editorSettingsWidget
// Qt::Popup
QApplication::setActiveWindow(this); // TODO: The docs say this function is deprecated but it's the only one
// that works in returning the user input from m_editorSettingsWidget
// Qt::Popup
m_textEdit->setFocus();
}
break;
Expand Down

0 comments on commit 67b6351

Please sign in to comment.