mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
fix + extended popup
This commit is contained in:
@@ -112,6 +112,7 @@ ShortcutElement::ShortcutElement(std::string id, JsonNode keys, int elem)
|
||||
buttonEdit->addCallback([id](){
|
||||
auto str = MetaString::createFromTextID("vcmi.shortcuts.editButton.popup");
|
||||
str.replaceTextID("vcmi.shortcuts.shortcut." + id);
|
||||
str.replaceRawString(id);
|
||||
CInfoWindow::showInfoDialog(str.toString(), {});
|
||||
});
|
||||
if(elem < MAX_LINES - 1)
|
||||
|
||||
Reference in New Issue
Block a user