This commit is contained in:
Nishi 2026-05-23 03:47:09 +09:00
commit 732b47a300

View file

@ -400,8 +400,8 @@ static void draw(MwWidget handle) {
} }
static void prop_change(MwWidget handle, const char* prop) { static void prop_change(MwWidget handle, const char* prop) {
if(strcmp(prop, MwNleftPadding) == 0) { MwListBox lb = handle->internal;
MwListBox lb = handle->internal; if(strcmp(prop, MwNleftPadding) == 0 && lb->frame != NULL) {
MwForceRender(lb->frame); MwForceRender(lb->frame);
} }
if(strcmp(prop, MwNhasHeading) == 0) { if(strcmp(prop, MwNhasHeading) == 0) {