Skip to content

Commit

Permalink
[Cocoa] 3.6.2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
r0x0r committed Mar 5, 2022
1 parent f166358 commit 1c5283e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 3.6.2

_Released 05/03/2022_
### 🐞 Bug fixes

- [Cocoa] Fix closing window

## 3.6.1

_Released 16/02/2022_
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ actionLink: /guide/
footer: BSD Licensed | Copyright © 2014–present Roman Sirokov
---
<div class='center version'>
Current version: <strong>3.6.1</strong><br/>
Current version: <strong>3.6.2</strong><br/>
<a href='/changelog'>What's new</a>
</div>

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/r0x0r/pywebview',
download_url='https://github.com/r0x0r/pywebview/archive/3.6.1.tar.gz',
download_url='https://github.com/r0x0r/pywebview/archive/3.6.2.tar.gz',
keywords=['gui', 'webkit', 'html', 'web'],
install_requires=install_requires,
extras_require=extras_require,
version='3.6.1',
version='3.6.2',
include_package_data=True,
packages=['webview', 'webview.js', 'webview.platforms'],
package_dir={'webview': 'webview'},
Expand Down
2 changes: 1 addition & 1 deletion webview/platforms/cocoa.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ def should_close(window):
msg = window.localization['global.quitConfirmation']

if not window.confirm_close or BrowserView.display_confirmation_dialog(quit, cancel, msg):
should_cancel = window.events.closing.set()
should_cancel = window.closing.set()
if should_cancel:
return Foundation.NO
else:
Expand Down

0 comments on commit 1c5283e

Please sign in to comment.