diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-01 21:37:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-01 22:58:18 +0300 |
commit | 70da0bae8b4f11bf4d2fcf12c2f1aa770fe1d4d1 (patch) | |
tree | fb619fed916b20de36ad97aa9c633110f8681193 /src/gui/shortcutwindow.cpp | |
parent | 96007521ba20250db0ed05e4d6117077690637db (diff) | |
download | plus-70da0bae8b4f11bf4d2fcf12c2f1aa770fe1d4d1.tar.gz plus-70da0bae8b4f11bf4d2fcf12c2f1aa770fe1d4d1.tar.bz2 plus-70da0bae8b4f11bf4d2fcf12c2f1aa770fe1d4d1.tar.xz plus-70da0bae8b4f11bf4d2fcf12c2f1aa770fe1d4d1.zip |
Add batch drawing to shortcuts windows.
Diffstat (limited to 'src/gui/shortcutwindow.cpp')
-rw-r--r-- | src/gui/shortcutwindow.cpp | 7 |
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); +} |