Skip to content

Commit

Permalink
fix duplicate command
Browse files Browse the repository at this point in the history
  • Loading branch information
pgilfernandez committed Dec 4, 2024
1 parent 956a3fd commit 2a690d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/GUI/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,9 @@ void MainWindow::setupMenuBar()
const auto qAct = new NoShortcutAction(tr("Duplicate", "MenuBar_Edit"));
mEditMenu->addAction(qAct);
qAct->setIcon(QIcon::fromTheme("duplicate"));
#ifndef Q_OS_MAC
qAct->setShortcut(Qt::CTRL + Qt::Key_D);
#endif
mActions.duplicateAction->connect(qAct);
cmdAddAction(qAct);
}
Expand Down

0 comments on commit 2a690d0

Please sign in to comment.