diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-04-22 18:18:53 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-04-22 18:45:49 +0200 |
commit | 28096a402947b05c7e923e075f926263a3279a42 (patch) | |
tree | 0dd68b8ab1f84e6fb5ec246ad0d456eb30ff5fd3 /plugingui/drumkitframecontent.cc | |
parent | fcfaa7affa0ac8afeaf38346226beb30fca09733 (diff) |
Fix crash when doing async-load in cli.
Diffstat (limited to 'plugingui/drumkitframecontent.cc')
-rw-r--r-- | plugingui/drumkitframecontent.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/drumkitframecontent.cc b/plugingui/drumkitframecontent.cc index 9549d75..2ae298b 100644 --- a/plugingui/drumkitframecontent.cc +++ b/plugingui/drumkitframecontent.cc @@ -233,6 +233,7 @@ void DrumkitframeContent::setDrumKitLoadStatus(LoadStatus load_status) switch(load_status) { case LoadStatus::Idle: + case LoadStatus::Parsing: case LoadStatus::Loading: state = dggui::ProgressBarState::Blue; break; @@ -255,6 +256,7 @@ void DrumkitframeContent::setMidiMapLoadStatus(LoadStatus load_status) case LoadStatus::Idle: midimap_file_progress.setValue(0); break; + case LoadStatus::Parsing: case LoadStatus::Loading: midimap_file_progress.setValue(1); state = dggui::ProgressBarState::Blue; |