FEM: [skip ci] connect onButtonDirection() slot with clicked() signal
This commit is contained in:
@@ -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*)),
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user