Skip to content

Commit

Permalink
Better event handling in the webview
Browse files Browse the repository at this point in the history
  • Loading branch information
core1024 committed Jan 21, 2025
1 parent de70c49 commit 0d6b8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stremio_app/stremio_wevbiew/wevbiew.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ impl PartialUi for WebView {
_handle: nwg::ControlHandle,
) {
use nwg::Event as E;
if evt == E::OnNotice {
if evt == E::OnNotice && _handle == self.notice.handle {
let message_queue = self.message_queue.clone();
if let Some(controller) = self.controller.get() {
let webview = controller.get_webview().expect("Cannot get vebview");
Expand Down

0 comments on commit 0d6b8f2

Please sign in to comment.