Make settings icon lighter grey when inactive

This commit is contained in:
Miguel Jacq 2017-06-02 11:34:19 +10:00
parent c7a800a79f
commit b7da267d4b
2 changed files with 1 additions and 0 deletions
onionshare_gui
share/images

@ -443,6 +443,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
Disable the Settings button while an OnionShare server is active.
"""
self.settings_button.setEnabled(not active)
self.settings_button.setIcon( QtGui.QIcon(common.get_resource_path('images/settings_inactive.png')) )
def closeEvent(self, e):
common.log('OnionShareGui', 'closeEvent')

Binary file not shown.

After

(image error) Size: 513 B