1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

code review

This commit is contained in:
Laserlicht
2025-03-23 13:09:03 +01:00
committed by GitHub
parent 11459d9268
commit a371501005
3 changed files with 7 additions and 3 deletions

View File

@@ -54,7 +54,10 @@ void reLoadSettings()
loadSettings();
for(const auto widget : qApp->allWidgets())
if(auto settingsView = qobject_cast<CSettingsView *>(widget))
{
settingsView->loadSettings();
break;
}
getMainWindow()->updateTranslation();
getMainWindow()->getModView()->reload();
}