forked from pyrite-dev/milsko
fix
This commit is contained in:
parent
90128dc6b2
commit
e448a8ed4e
1 changed files with 4 additions and 2 deletions
|
|
@ -585,9 +585,11 @@ void MwSetInteger(MwWidget handle, const char* key, int n) {
|
|||
|
||||
shdel(h->integer, MwNdarkThemeAutomatic);
|
||||
|
||||
while(h->parent != NULL && h->parent->widget_class != MwWindowClass) h = h->parent;
|
||||
if(h->widget_class != MwWindowClass) {
|
||||
while(h->parent != NULL && h->parent->widget_class != MwWindowClass) h = h->parent;
|
||||
}
|
||||
|
||||
MwLLSetDarkTheme(h->lowlevel, n);
|
||||
if(h->lowlevel != NULL) MwLLSetDarkTheme(h->lowlevel, n);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue