Skip to content
Snippets Groups Projects
Commit 9b570bfc authored by Jan Beinke's avatar Jan Beinke
Browse files

Fix flickering when opening the "crate torrent" dialog

parent d9cf77ae
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ class CTD(createtorrentdialog.CreateTorrentDialog, object):
def show(self):
super(CTD, self).show()
self.dialog.hide()
self.dialog.set_sensitive(False)
config = client.irblan.get_config().result
......@@ -84,7 +84,7 @@ class CTD(createtorrentdialog.CreateTorrentDialog, object):
tracker_list = self.find_obj('tracker_treeview').get_model()
tracker_list.append([0, config["default_tracker"]])
self.dialog.show()
self.dialog.set_sensitive(True)
class GtkUI(GtkPluginBase):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment