The function TabControl.renameTab(string ID, dstring name) (in /src/dlangui/widgets/tabs.d) fails to rename the tab because it can't find the tab with the given id.
void renameTab(string ID, dstring name) {
int index = _items.indexById(id); // <- this should be uppercase ID as in the arguments
if (index >= 0) {
renameTab(index, name);
}
}
The function
TabControl.renameTab(string ID, dstring name)
(in /src/dlangui/widgets/tabs.d) fails to rename the tab because it can't find the tab with the given id.