Skip to content

Commit

Permalink
Adding this to connect toggleSwitch
Browse files Browse the repository at this point in the history
  • Loading branch information
erinharrington-12 committed Jan 25, 2024
1 parent e523ecc commit a28af04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Create3Widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Create3Widget::Create3Widget(Device *device, QWidget *parent)
// connect(ui->ResetServerButton, SIGNAL(clicked()), SLOT(resetServer()));
connect(ui->Create3SensorListButton, SIGNAL(clicked()), SLOT(sensorList()));
connect(ui->Create3ExampleProgramButton, SIGNAL(clicked()), SLOT(exampleList()));
connect(ui->toggleSwitch, SIGNAL(stateChanged(int)), SLOT(toggleChanged()));
connect(ui->toggleSwitch, SIGNAL(stateChanged(int)), this, SLOT(toggleChanged()));
ui->create3IP->setText(getIP());

QStringList arguments;
Expand Down

0 comments on commit a28af04

Please sign in to comment.