mirror of https://github.com/buggins/dlangui.git
Fix theme change crash on X11.
This commit is contained in:
parent
baec5e04b4
commit
df9346920e
|
@ -1542,6 +1542,13 @@ class X11Platform : Platform {
|
|||
w.requestLayout();
|
||||
}
|
||||
}
|
||||
|
||||
/// handle theme change: e.g. reload some themed resources
|
||||
override void onThemeChanged() {
|
||||
foreach(w; _windowMap)
|
||||
w.dispatchThemeChanged();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
import core.thread;
|
||||
|
|
Loading…
Reference in New Issue