Skip to content

Commit

Permalink
update request on client open
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Sep 26, 2024
1 parent 351083e commit 86ce1b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client/MainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def update_request(self, event):
return
if not self.__is_init:
return
if event.maskname == "IN_MODIFY":
if event == True or event.maskname == "IN_MODIFY":
fdata = {}
fdata["update"]="client"
send_server(fdata)
Expand Down Expand Up @@ -318,6 +318,7 @@ def open_window_event(self, widget):
self.open_window.set_label(_("Hide"))
self.window.show()
self.window.present()
self.update_request(True)
else:
self.open_window.set_label(_("Show"))
self.window.hide()
Expand Down

0 comments on commit 86ce1b5

Please sign in to comment.