Rename _handle to handle in webview events

This commit is contained in:
Vladimir Borisov 2025-01-21 15:56:24 +02:00
parent 0d6b8f23b5
commit 70d67a2aa2
No known key found for this signature in database
GPG key ID: F9A584BE4FCB6603

View file

@ -196,10 +196,10 @@ impl PartialUi for WebView {
&self,
evt: nwg::Event,
_evt_data: &nwg::EventData,
_handle: nwg::ControlHandle,
handle: nwg::ControlHandle,
) {
use nwg::Event as E;
if evt == E::OnNotice && _handle == self.notice.handle {
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");