-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor fix: eventFilter drop on minimized; comments lost sync after GUI rest #299
Conversation
"""Update comments to host and notify subscribers""" | ||
self.host.update(key="comment", value=comment) | ||
self.host.emit("commented", comment=comment) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying this kind of simple (lazy) fix.
Dose this work for you ? @mottosso
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it works, it works!
return self.vessel.hide() | ||
success = self._dispatch("hide") | ||
self.vessel.hide() | ||
return success | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eventFilter
will get removed if proxy._dispatch
returns False
/None
, which suggest that subprocess connection has closed.
It's obvious that returning the result of self.vessel.hide()
is incorrect.
Thanks @davidlatwe, once you're happy, you're welcome to merge. (I've added you to the contributor list!) |
Much appreciated ! |
a4f6dd3
to
541309b
Compare
Sorry for the spamming, didn't know that Merging now :) |
Thanks @davidlatwe :) |
This PR will provide two fix:
reset
botton