1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00

Fix preset group delete not removing presets from he preset window

This commit is contained in:
f4exb 2018-07-18 08:36:28 +02:00
parent 7c3f31af69
commit 1be8663ad8

View File

@ -1394,7 +1394,7 @@ void MainWindow::on_presetDelete_clicked()
{
m_settings.deletePresetGroup(item->text(0));
ui->commandTree->clear();
ui->presetTree->clear();
for (int i = 0; i < m_settings.getPresetCount(); ++i) {
addPresetToTree(m_settings.getPreset(i));