mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-29 15:53:38 -05:00
Need to actually ensure the dark settings icon is set back once server inactive again
This commit is contained in:
parent
e9120fd87e
commit
fccec9737d
@ -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…
x
Reference in New Issue
Block a user