fix for #1656 issue

This commit is contained in:
navjot 2020-09-05 16:17:52 +05:30
parent 1c304125e8
commit 124e6d9b32
No known key found for this signature in database
GPG Key ID: 9EE70AFD71357F1C
1 changed files with 2 additions and 0 deletions

View File

@ -342,6 +342,8 @@ class SettingsDialog(QtGui.QDialog):
if proxytype_index == 0:
if self._proxy_type and state.statusIconColor != 'red':
self.net_restart_needed = True
elif state.statusIconColor == 'red' and self.config.safeGetBoolean('bitmessagesettings', 'dontconnect'):
self.net_restart_needed = False
elif self.comboBoxProxyType.currentText() != self._proxy_type:
self.net_restart_needed = True
self.parent.statusbar.clearMessage()