FEM: [skip ci] connect onButtonDirection() slot with clicked() signal

This commit is contained in:
wmayer
2021-02-24 21:55:51 +01:00
parent a95cd106bb
commit ab0a660963
2 changed files with 3 additions and 3 deletions

View File

@@ -83,8 +83,8 @@ TaskFemConstraintForce::TaskFemConstraintForce(ViewProviderFemConstraintForce *C
connect(ui->spinForce, SIGNAL(valueChanged(double)),
this, SLOT(onForceChanged(double)));
connect(ui->buttonDirection, SIGNAL(pressed()),
this, SLOT(onButtonDirection()));
connect(ui->buttonDirection, SIGNAL(clicked(bool)),
this, SLOT(onButtonDirection(bool)));
connect(ui->checkReverse, SIGNAL(toggled(bool)),
this, SLOT(onCheckReverse(bool)));
connect(ui->listReferences, SIGNAL(itemClicked(QListWidgetItem*)),

View File

@@ -62,7 +62,7 @@ public:
private Q_SLOTS:
void onReferenceDeleted(void);
void onForceChanged(double);
void onButtonDirection(const bool pressed = true);
void onButtonDirection(const bool pressed = false);
void onCheckReverse(bool);
void addToSelection();
void removeFromSelection();