mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 01:47:13 +00:00
Use GUI2 for the add-on Description pop-up.
This allows line breaks to be parsed correctly and markup not to be interpreted at at all (we don't want markup here).
This commit is contained in:
parent
5f7b8c313e
commit
38bbdac5c3
@ -344,8 +344,8 @@ namespace {
|
|||||||
text = desc_[uchoice];
|
text = desc_[uchoice];
|
||||||
}
|
}
|
||||||
|
|
||||||
gui::dialog dlg(disp_, title, text, gui::MESSAGE);
|
gui2::ttransient_message dlg(title, false, text, false);
|
||||||
dlg.show();
|
dlg.show(disp_.video());
|
||||||
|
|
||||||
return gui::CONTINUE_DIALOG;
|
return gui::CONTINUE_DIALOG;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user