summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widget.cpp')
-rw-r--r--src/gui/widgets/widget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/widget.cpp b/src/gui/widgets/widget.cpp
index 47d2e0f5b..47bca1fb3 100644
--- a/src/gui/widgets/widget.cpp
+++ b/src/gui/widgets/widget.cpp
@@ -122,6 +122,7 @@ Widget::~Widget()
(*iter)->death(event);
}
+ // +++ call to virtual member
setFocusHandler(nullptr);
mAllWidgets.remove(this);