summaryrefslogtreecommitdiff
path: root/plugin/drumgizmo_plugin.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-04-22 18:18:53 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-04-22 18:45:49 +0200
commit28096a402947b05c7e923e075f926263a3279a42 (patch)
tree0dd68b8ab1f84e6fb5ec246ad0d456eb30ff5fd3 /plugin/drumgizmo_plugin.cc
parentfcfaa7affa0ac8afeaf38346226beb30fca09733 (diff)
Fix crash when doing async-load in cli.
Diffstat (limited to 'plugin/drumgizmo_plugin.cc')
-rw-r--r--plugin/drumgizmo_plugin.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/drumgizmo_plugin.cc b/plugin/drumgizmo_plugin.cc
index 671fab6..82c0ee9 100644
--- a/plugin/drumgizmo_plugin.cc
+++ b/plugin/drumgizmo_plugin.cc
@@ -281,6 +281,7 @@ void DrumGizmoPlugin::onInlineRedraw(std::size_t width,
bar_green.setSize(val, bar_height);
painter.drawImage(brd, height - bar_height, bar_green);
break;
+ case LoadStatus::Parsing:
case LoadStatus::Loading:
case LoadStatus::Idle:
bar_blue.setSize(val, bar_height);