qt network dialog: maybe fix refresh bug

This commit is contained in:
SomberNight 2018-09-17 22:31:31 +02:00
parent 7221fb3231
commit 24ec7ce6b8
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -126,6 +126,8 @@ class NodesListWidget(QTreeWidget):
h.setSectionResizeMode(0, QHeaderView.Stretch) h.setSectionResizeMode(0, QHeaderView.Stretch)
h.setSectionResizeMode(1, QHeaderView.ResizeToContents) h.setSectionResizeMode(1, QHeaderView.ResizeToContents)
super().update()
class ServerListWidget(QTreeWidget): class ServerListWidget(QTreeWidget):
@ -180,6 +182,8 @@ class ServerListWidget(QTreeWidget):
h.setSectionResizeMode(0, QHeaderView.Stretch) h.setSectionResizeMode(0, QHeaderView.Stretch)
h.setSectionResizeMode(1, QHeaderView.ResizeToContents) h.setSectionResizeMode(1, QHeaderView.ResizeToContents)
super().update()
class NetworkChoiceLayout(object): class NetworkChoiceLayout(object):