mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
Don't show duplicate add/edit tracker error dialogs (#3898)
Since we're already overriding `on_response()`, there's no point in connecting `signal_response` to it, making it being called twice. Broken-by: #3781
This commit is contained in:
parent
32a1429047
commit
aeaa6ca52f
1 changed files with 0 additions and 4 deletions
|
@ -2157,8 +2157,6 @@ EditTrackersDialog::EditTrackersDialog(
|
||||||
set_transient_for(parent);
|
set_transient_for(parent);
|
||||||
|
|
||||||
urls_view_->get_buffer()->set_text(tr_torrentGetTrackerList(torrent));
|
urls_view_->get_buffer()->set_text(tr_torrentGetTrackerList(torrent));
|
||||||
|
|
||||||
signal_response().connect([this](int response) { on_response(response); });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<EditTrackersDialog> EditTrackersDialog::create(
|
std::unique_ptr<EditTrackersDialog> EditTrackersDialog::create(
|
||||||
|
@ -2274,8 +2272,6 @@ AddTrackerDialog::AddTrackerDialog(
|
||||||
set_transient_for(parent);
|
set_transient_for(parent);
|
||||||
|
|
||||||
gtr_paste_clipboard_url_into_entry(*url_entry_);
|
gtr_paste_clipboard_url_into_entry(*url_entry_);
|
||||||
|
|
||||||
signal_response().connect([this](int response) { on_response(response); });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<AddTrackerDialog> AddTrackerDialog::create(
|
std::unique_ptr<AddTrackerDialog> AddTrackerDialog::create(
|
||||||
|
|
Loading…
Reference in a new issue