Remove unused lambda capture.
This commit is contained in:
parent
7ea8441271
commit
00e7e57a69
|
@ -5633,7 +5633,7 @@ void MainWindow::CreateActions()
|
||||||
connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool);
|
connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool);
|
||||||
|
|
||||||
ui->actionInteractiveTools->setChecked(VAbstractValApplication::VApp()->ValentinaSettings()->IsInteractiveTools());
|
ui->actionInteractiveTools->setChecked(VAbstractValApplication::VApp()->ValentinaSettings()->IsInteractiveTools());
|
||||||
connect(ui->actionInteractiveTools, &QAction::triggered, this, [this](bool checked)
|
connect(ui->actionInteractiveTools, &QAction::triggered, this, [](bool checked)
|
||||||
{
|
{
|
||||||
VAbstractValApplication::VApp()->ValentinaSettings()->SetInteractiveTools(checked);
|
VAbstractValApplication::VApp()->ValentinaSettings()->SetInteractiveTools(checked);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user