| 62 | } |
| 63 | |
| 64 | void PresetFragment::onAddClicked() |
| 65 | { |
| 66 | if(ui->presetName->text().isEmpty()) |
| 67 | { |
| 68 | return; |
| 69 | } |
| 70 | |
| 71 | PresetManager::instance().save(ui->presetName->text()); |
| 72 | ui->presetName->text() = ""; |
| 73 | } |
| 74 | |
| 75 | void PresetFragment::onRemoveClicked() |
| 76 | { |