We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46af36 commit 56d4892Copy full SHA for 56d4892
Source/Menus/ModManagerGUI.cpp
@@ -120,6 +120,13 @@ void ModManagerGUI::ToggleMod() {
120
disabledModsList.emplace(modRecord.ModulePath);
121
g_ModuleMan.UnloadDataModule(modRecord.ModulePath);
122
}
123
+
124
+ const DataModule* dataModule = g_ModuleMan.GetDataModule(g_ModuleMan.GetModuleID(modRecord.ModulePath));
125
+ if (dataModule) {
126
+ modRecord.ModuleName = dataModule->GetFriendlyName();
127
+ modRecord.Description = dataModule->GetDescription();
128
+ }
129
130
selectedItem->m_Name = modRecord.GetDisplayString();
131
m_ModsListBox->SetSelectedIndex(index);
132
m_ModsListBox->Invalidate();
0 commit comments