mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 02:15:37 +00:00
GUI2/Label: tweaked link confirmation prompt
(cherry-picked from commit 384ba46c86c401a37b11eb427e1e9317453db33e)
This commit is contained in:
parent
3f5d554f8c
commit
9b1431b4d7
@ -169,7 +169,7 @@ void label::signal_handler_left_button_click(const event::ui_event /* event */,
|
||||
|
||||
DBG_GUI_E << "Clicked Link:\"" << link << "\"\n";
|
||||
|
||||
const int res = show_message(_("Confirm"), _("Do you want to open this link?") + std::string("\n\n") + link, dialogs::message::yes_no_buttons);
|
||||
const int res = show_message(_("Do you want to open this link?"), link, dialogs::message::yes_no_buttons);
|
||||
if(res == gui2::retval::OK) {
|
||||
desktop::open_object(link);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user