mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-15 12:52:28 -04:00
#438 Make settings icon lighter grey when inactive
This commit is contained in:
parent
c7a800a79f
commit
b7da267d4b
2 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue