#438 Make settings icon lighter grey when inactive

This commit is contained in:
Miguel Jacq 2017-06-02 11:34:19 +10:00
parent c6b19a2864
commit 6626e7d67e
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6
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