From 8f089b3302146d0285246a5857064e772caf0d4c Mon Sep 17 00:00:00 2001 From: nordsoft Date: Fri, 16 Dec 2022 02:19:23 +0400 Subject: [PATCH] Rename folder --- client/lobby/RandomMapTab.cpp | 4 ++-- config/{windows => widgets}/randomMapTab.json | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename config/{windows => widgets}/randomMapTab.json (100%) diff --git a/client/lobby/RandomMapTab.cpp b/client/lobby/RandomMapTab.cpp index 679675e2c..18c216f6d 100644 --- a/client/lobby/RandomMapTab.cpp +++ b/client/lobby/RandomMapTab.cpp @@ -36,7 +36,7 @@ RandomMapTab::RandomMapTab(): recActions = 0; mapGenOptions = std::make_shared(); - const JsonNode config(ResourceID("config/windows/randomMapTab.json")); + const JsonNode config(ResourceID("config/widgets/randomMapTab.json")); addCallback("toggleMapSize", [&](int btnId) { auto mapSizeVal = getPossibleMapSizes(); @@ -374,7 +374,7 @@ TemplatesDropBox::TemplatesDropBox(RandomMapTab & randomMapTab, int3 size): vstd::erase_if(curItems, [size](const CRmgTemplate * t){return !t->matchesSize(size);}); curItems.insert(curItems.begin(), nullptr); //default template - const JsonNode config(ResourceID("config/windows/randomMapTemplateWidget.json")); + const JsonNode config(ResourceID("config/widgets/randomMapTemplateWidget.json")); addCallback("sliderMove", std::bind(&TemplatesDropBox::sliderMove, this, std::placeholders::_1)); diff --git a/config/windows/randomMapTab.json b/config/widgets/randomMapTab.json similarity index 100% rename from config/windows/randomMapTab.json rename to config/widgets/randomMapTab.json