mirror of
https://github.com/onionshare/onionshare.git
synced 2025-12-15 16:29:35 -05:00
Merge branch 'mig5-438_settings_icon_inactive'
This commit is contained in:
commit
5435a4b046
2 changed files with 4 additions and 0 deletions
|
|
@ -449,6 +449,10 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
|||
Disable the Settings button while an OnionShare server is active.
|
||||
"""
|
||||
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')
|
||||
|
|
|
|||
BIN
share/images/settings_inactive.png
Normal file
BIN
share/images/settings_inactive.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 513 B |
Loading…
Add table
Add a link
Reference in a new issue