Skip to content
Snippets Groups Projects
Commit 43b2e6eb authored by inso's avatar inso
Browse files

Add safeguard on refresh button

parent 221a24ec
Branches
Tags
No related merge requests found
......@@ -108,6 +108,8 @@ class NetworkTabWidget(QWidget, Ui_NetworkTabWidget):
def manual_nodes_refresh(self):
self.community.network.refresh_once()
self.button_manual_refresh.setEnabled(False)
asyncio.get_event_loop().call_later(15, lambda: self.button_manual_refresh.setEnabled(True))
def changeEvent(self, event):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment