mirror of
https://github.com/lutris/lutris
synced 2024-09-05 23:46:21 +00:00
Re-disable synchronize menu item when disconnected
This commit is contained in:
parent
443bcf882b
commit
d82ac9105b
|
@ -430,6 +430,9 @@ class LutrisWindow(Gtk.Application):
|
|||
self.toggle_connection(False)
|
||||
self.connect_link.show()
|
||||
|
||||
synchronize_menuitem = self.builder.get_object('synchronize_menuitem')
|
||||
synchronize_menuitem.set_sensitive(False)
|
||||
|
||||
def toggle_connection(self, is_connected, username=None):
|
||||
disconnect_menuitem = self.builder.get_object('disconnect_menuitem')
|
||||
connect_menuitem = self.builder.get_object('connect_menuitem')
|
||||
|
|
Loading…
Reference in a new issue