feat: swap techniques at will

This commit is contained in:
djaidjai committed 2024-05-26 14:21:21 +02:00
1 parent 86ec78f831
commit 627a784f72
1 file changed
+2 -3
@@ -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);
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.