Need to actually ensure the dark settings icon is set back once server inactive again

This commit is contained in:
Miguel Jacq 2017-06-03 19:04:21 +10:00
parent e9120fd87e
commit fccec9737d
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6

View file

@ -445,6 +445,8 @@ class OnionShareGui(QtWidgets.QMainWindow):
self.settings_button.setEnabled(not active)
if active:
self.settings_button.setIcon( QtGui.QIcon(common.get_resource_path('images/settings_inactive.png')) )
else:
self.settings_button.setIcon( QtGui.QIcon(common.get_resource_path('images/settings.png')) )
def closeEvent(self, e):
common.log('OnionShareGui', 'closeEvent')