Add REMOVE button to Snapshot Edit dialog.

This commit is contained in:
Robin E.R. Davies
2026-05-30 22:37:31 -04:00
parent 533e313b40
commit 9bc348bc9e
6 changed files with 81 additions and 27 deletions
+9
View File
@@ -729,7 +729,12 @@ void PiPedalModel::SetSnapshot(int64_t selectedSnapshot)
}
}
pedalboardChanged = true;
} else if (selectedSnapshot == -1)
{
this->pedalboard.selectedSnapshot(-1);
pedalboardChanged = true;
}
}
if (pedalboardChanged)
{
@@ -3505,6 +3510,10 @@ void PiPedalModel::SetChannelRouterSettings(int64_t clientId, ChannelRouterSetti
}
std::string PiPedalModel::Tone3000ThumbnailDirectory()
{
return "/var/pipedal/audio_uploads/tone3000_thumbnails";
}
std::string PiPedalModel::OldTone3000ThumbnailDirectory()
{
return "/var/pipedal/tone3000_thumbnails";
}