Skip to content

Commit

Permalink
macOS: allow F2 for in-place edit
Browse files Browse the repository at this point in the history
  • Loading branch information
kambala-decapitator committed May 9, 2024
1 parent b4cfdf1 commit 037d785
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions d2stringtablewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ void D2StringTableWidget::keyPressEvent(QKeyEvent *keyEvent)
// in-place edit
#ifdef Q_OS_MAC
case Qt::Key_Enter:
#else
case Qt::Key_F2:
#endif
case Qt::Key_F2:
editInPlace();
break;
case Qt::Key_Home: // Home or Ctrl+Home goes to the first cell
Expand Down

0 comments on commit 037d785

Please sign in to comment.