summaryrefslogtreecommitdiffhomepage
path: root/api/plugin-api.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-02-26 15:50:57 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-02-26 15:50:57 +0100
commit962ca4e983ca8ee9f034102c6b655cb15de0a94f (patch)
treeae2cc72de95962430bb5e14b8f2740edc5fdce88 /api/plugin-api.cpp
parent19ef27d7f3d3b4df0e4c45a4e88d1a63186ffb76 (diff)
api/base-dialog: try harder to avoid double closing() signal
Diffstat (limited to 'api/plugin-api.cpp')
-rw-r--r--api/plugin-api.cpp3
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() {}