summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-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() {}