mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-29 09:28:57 -04:00
Need to actually ensure the dark settings icon is set back once server inactive again
This commit is contained in:
parent
6b0d66b90d
commit
5d57eb5893
1 changed files with 2 additions and 0 deletions
|
@ -445,6 +445,8 @@ class OnionShareGui(QtWidgets.QMainWindow):
|
||||||
self.settings_button.setEnabled(not active)
|
self.settings_button.setEnabled(not active)
|
||||||
if active:
|
if active:
|
||||||
self.settings_button.setIcon( QtGui.QIcon(common.get_resource_path('images/settings_inactive.png')) )
|
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):
|
def closeEvent(self, e):
|
||||||
common.log('OnionShareGui', 'closeEvent')
|
common.log('OnionShareGui', 'closeEvent')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue