diff options
Diffstat (limited to 'plugins/New_GPG/src/messages.cpp')
-rwxr-xr-x | plugins/New_GPG/src/messages.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/New_GPG/src/messages.cpp b/plugins/New_GPG/src/messages.cpp index 4c30f3668b..ab44c30e01 100755 --- a/plugins/New_GPG/src/messages.cpp +++ b/plugins/New_GPG/src/messages.cpp @@ -1028,17 +1028,17 @@ public: chk_DEFAULT_PASSWORD.Disable(); } } - virtual void OnClose() override
- {
- DestroyWindow(m_hwnd);
- }
- virtual void OnDestroy() override
- {
- mir_free(inkeyid);
+ virtual void OnClose() override + { + DestroyWindow(m_hwnd); + } + virtual void OnDestroy() override + { + mir_free(inkeyid); GetWindowRect(m_hwnd, &key_password_rect); db_set_dw(NULL, szGPGModuleName, "PasswordWindowX", key_password_rect.left); db_set_dw(NULL, szGPGModuleName, "PasswordWindowY", key_password_rect.top); - delete this;
+ delete this; } void onClick_OK(CCtrlButton*) { |