Fix doubling of mirror tool.
This commit is contained in:
parent
13fafca653
commit
2db6805629
|
@ -3232,18 +3232,6 @@ void MainWindow::ToolBarDrawTools()
|
|||
ui->toolBarOperationTools->addWidget(symmetryTool);
|
||||
}
|
||||
|
||||
{
|
||||
auto *symmetryToolMenu = new QMenu(this);
|
||||
symmetryToolMenu->addAction(ui->actionFlippingByAxisTool);
|
||||
symmetryToolMenu->addAction(ui->actionFlippingByLineTool);
|
||||
|
||||
auto *symmetryTool = new VToolButtonPopup(this);
|
||||
symmetryTool->setMenu(symmetryToolMenu);
|
||||
symmetryTool->setDefaultAction(ui->actionFlippingByAxisTool);
|
||||
|
||||
ui->toolBarOperationTools->addWidget(symmetryTool);
|
||||
}
|
||||
|
||||
{
|
||||
auto *transformToolMenu = new QMenu(this);
|
||||
transformToolMenu->addAction(ui->actionRotationTool);
|
||||
|
@ -3266,9 +3254,6 @@ void MainWindow::ToolBarDrawTools()
|
|||
ui->toolBarOperationTools->addAction(ui->actionFlippingByAxisTool);
|
||||
ui->toolBarOperationTools->addAction(ui->actionFlippingByLineTool);
|
||||
|
||||
ui->toolBarOperationTools->addAction(ui->actionFlippingByAxisTool);
|
||||
ui->toolBarOperationTools->addAction(ui->actionFlippingByLineTool);
|
||||
|
||||
ui->toolBarOperationTools->addAction(ui->actionRotationTool);
|
||||
ui->toolBarOperationTools->addAction(ui->actionMoveTool);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user