Enable Pango markup in the error message if uploading an add-on fails

Follow-up for cb5de97b84.
This commit is contained in:
Jyrki Vesterinen 2017-10-10 20:17:35 +03:00
parent cb5de97b84
commit 1383635ff0

View file

@ -694,9 +694,9 @@ void addon_manager::publish_addon(const addon_info& addon, window& window)
// stuff (having a scroll container is especially
// important since a long list can cause the dialog to
// overflow).
gui2::show_error_message(window.video(), msg + "\n\n" + extra_data);
gui2::show_error_message(window.video(), msg + "\n\n" + extra_data, true);
} else {
gui2::show_error_message(window.video(), msg);
gui2::show_error_message(window.video(), msg, true);
}
} else {
gui2::show_transient_message(window.video(), _("Response"), server_msg);