#438 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

View File

@ -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

Width:  |  Height:  |  Size: 513 B