diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-26 15:50:57 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-02-26 15:50:57 +0100 |
commit | 962ca4e983ca8ee9f034102c6b655cb15de0a94f (patch) | |
tree | ae2cc72de95962430bb5e14b8f2740edc5fdce88 /api | |
parent | 19ef27d7f3d3b4df0e4c45a4e88d1a63186ffb76 (diff) |
api/base-dialog: try harder to avoid double closing() signal
Diffstat (limited to 'api')
-rw-r--r-- | api/plugin-api.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/plugin-api.cpp b/api/plugin-api.cpp index 100902eb..92602b11 100644 --- a/api/plugin-api.cpp +++ b/api/plugin-api.cpp @@ -15,7 +15,10 @@ plugin_api::detail::BaseDialog::BaseDialog() {} void plugin_api::detail::BaseDialog::closeEvent(QCloseEvent*) { if (isVisible()) + { + hide(); emit closing(); + } } Metadata::Metadata() {} |