Skip to content

Commit

Permalink
Fix cheking errors on loading kit the preset browser
Browse files Browse the repository at this point in the history
  • Loading branch information
iurienistor committed Feb 18, 2024
1 parent 963c2c1 commit c97adb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preset_browser_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ bool PresetBrowserModel::setPreset(Preset* preset)
}
} else if (preset->type() == Preset::PresetType::PercussionKit) {
auto kit = std::make_unique<KitState>();
if (kit->open(preset->path().string())) {
if (!kit->open(preset->path().string())) {
GEONKICK_LOG_ERROR("can't open kit");
return false;
} else if (geonkickApi->setKitState(kit)) {
Expand Down

0 comments on commit c97adb0

Please sign in to comment.