diff -r d41b1ffc5f77 -r 958bae372271 ui/winui/toolkit.cpp --- a/ui/winui/toolkit.cpp Sun Nov 10 15:27:44 2024 +0100 +++ b/ui/winui/toolkit.cpp Tue Nov 12 14:58:03 2024 +0100 @@ -36,6 +36,7 @@ #include "../common/context.h" #include "../common/document.h" #include "../common/toolbar.h" +#include "../common/properties.h" #include "icons.h" @@ -166,6 +167,8 @@ uic_init_global_context(); uic_docmgr_init(); uic_toolbar_init(); + + uic_load_app_properties(); } const char* ui_appname() { @@ -229,8 +232,8 @@ void ui_show(UiObject* obj) { if (obj->wobj) { obj->wobj->window.Activate(); - } else { - // TODO + } else if(obj->widget && obj->widget->Show) { + obj->widget->Show(); } }