git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@787 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-23 11:38:12 +00:00
parent 77c91948a5
commit 1d976ab948

View File

@@ -401,7 +401,7 @@ static void mwTreeViewSetLabelImpl(MwWidget handle, void* item, const char* labe
free(e->label);
e->label = MwStringDuplicate(label);
if(e->parent != NULL && e->parent->opened) {
if(e->parent == NULL || (e->parent != NULL && e->parent->opened)) {
resize(handle);
}
}