diff options
Diffstat (limited to 'src/gui/widgets/playerbox.cpp')
-rw-r--r-- | src/gui/widgets/playerbox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/playerbox.cpp b/src/gui/widgets/playerbox.cpp index e6f5965d1..b713365b6 100644 --- a/src/gui/widgets/playerbox.cpp +++ b/src/gui/widgets/playerbox.cpp @@ -60,6 +60,9 @@ PlayerBox::PlayerBox(std::string skin) : PlayerBox::~PlayerBox() { + if (gui) + gui->removeDragged(this); + Theme *const theme = Theme::instance(); if (theme) { |