mirror of
https://github.com/vcmi/vcmi.git
synced 2025-05-13 22:06:58 +02:00
format
This commit is contained in:
parent
7b370d1967
commit
b67548e7cf
@ -122,7 +122,7 @@ RandomMapTab::RandomMapTab():
|
|||||||
|
|
||||||
const JsonNode config(JsonPath::builtin("config/widgets/randomMapTab.json"));
|
const JsonNode config(JsonPath::builtin("config/widgets/randomMapTab.json"));
|
||||||
build(config);
|
build(config);
|
||||||
|
|
||||||
if(auto w = widget<CButton>("buttonShowRandomMaps"))
|
if(auto w = widget<CButton>("buttonShowRandomMaps"))
|
||||||
{
|
{
|
||||||
w->addCallback([&]()
|
w->addCallback([&]()
|
||||||
@ -132,7 +132,7 @@ RandomMapTab::RandomMapTab():
|
|||||||
(static_cast<CLobbyScreen *>(parent))->tabSel->filter(0, true);
|
(static_cast<CLobbyScreen *>(parent))->tabSel->filter(0, true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
//set combo box callbacks
|
//set combo box callbacks
|
||||||
if(auto w = widget<ComboBox>("templateList"))
|
if(auto w = widget<ComboBox>("templateList"))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user