fix: make remove-torrent dialogs modal in GTK client (#2602)

Followup to #2443
This commit is contained in:
Charles Kerr
2022-02-10 14:31:11 -06:00
committed by GitHub
parent 376e8b3782
commit ec6a92d761
2 changed files with 5 additions and 4 deletions

View File

@@ -516,9 +516,10 @@ void gtr_unrecognized_url_dialog(Gtk::Widget& parent, Glib::ustring const& url)
auto w = std::make_shared<Gtk::MessageDialog>(
*window,
_("Unrecognized URL"),
false,
false /*use markup*/,
Gtk::MESSAGE_ERROR,
Gtk::BUTTONS_CLOSE);
Gtk::BUTTONS_CLOSE,
true /*modal*/);
gstr += gtr_sprintf(_("Transmission doesn't know how to use \"%s\""), url);