Skip to content

Commit

Permalink
Update mainwindow.cpp
Browse files Browse the repository at this point in the history
Fix warning.
  • Loading branch information
rodlie committed Aug 15, 2024
1 parent 2e8b0cf commit 16e45d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/GUI/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ void MainWindow::setupMenuBar()
Qt::ALT + Qt::Key_A, mEditMenu));
mEditMenu->addSeparator();

const auto addKeyAct = mEditMenu->addAction(tr("Add Key(s)"), [this]() {
mEditMenu->addAction(tr("Add Key(s)"), [this]() {
const auto scene = *mDocument.fActiveScene;
if (!scene) { return; }
scene->addKeySelectedProperties();
Expand Down

0 comments on commit 16e45d7

Please sign in to comment.