Skip to content

Commit

Permalink
Merge pull request #1433 from lixuelong135/master
Browse files Browse the repository at this point in the history
Update winforms.py
  • Loading branch information
r0x0r authored Jul 16, 2024
2 parents 96e44aa + b79a75c commit 388bf46
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webview/platforms/winforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,12 @@ def _set_title():
_set_title()


def create_confirmation_dialog(title, message, _):
def create_confirmation_dialog(title, message, uid):
i = BrowserView.instances.get(uid)

if not i:
return

result = WinForms.MessageBox.Show(message, title, WinForms.MessageBoxButtons.OKCancel)
return result == WinForms.DialogResult.OK

Expand Down

0 comments on commit 388bf46

Please sign in to comment.