summaryrefslogtreecommitdiff
path: root/src/gui/shortcutwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shortcutwindow.cpp')
-rw-r--r--src/gui/shortcutwindow.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp
index e4e946931..28dcdd07e 100644
--- a/src/gui/shortcutwindow.cpp
+++ b/src/gui/shortcutwindow.cpp
@@ -216,3 +216,10 @@ void ShortcutWindow::mouseDragged(gcn::MouseEvent &event)
setPosition(newX, newY);
}
}
+
+void ShortcutWindow::widgetMoved(const gcn::Event& event)
+{
+ Window::widgetMoved(event);
+ if (mItems)
+ mItems->setRedraw(true);
+}