show_narration: use label column if only given a string
This matches behaviour in 1.14
This commit is contained in:
parent
219be073a3
commit
932dca3982
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ int show_message_dialog(lua_State* L)
|
|||
t_string short_opt;
|
||||
config opt;
|
||||
if(luaW_totstring(L, -1, short_opt)) {
|
||||
opt["description"] = short_opt;
|
||||
opt["label"] = short_opt;
|
||||
} else if(!luaW_toconfig(L, -1, opt)) {
|
||||
std::ostringstream error;
|
||||
error << "expected array of config and/or translatable strings, but index ";
|
||||
|
|
Loading…
Add table
Reference in a new issue