feat: swap techniques at will

This commit is contained in:
Djairo Hougee 2024-05-26 14:21:21 +02:00
parent 86ec78f831
commit 627a784f72
1 changed files with 2 additions and 3 deletions

View File

@ -81,15 +81,14 @@ void MainWindow::setupTechniques() {
void MainWindow::on_FirstButton_clicked(bool checked) {
if (checked) {
cout << "clicked button 1!" << endl;
ui->program->setActiveTechnique(0);
}
}
void MainWindow::on_SecondButton_clicked(bool checked) {
if (checked) {
cout << "clicked button 2!" << endl;
ui->program->setActiveTechnique(1);
}
}