diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 23:59:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 23:59:36 +0300 |
commit | 1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a (patch) | |
tree | edc73443a83b5e3b59147c4fbe27ccaa8eb311b5 /src/actions | |
parent | 5b4e74ab44a2ae4eab9db71c860885802e2ba28d (diff) | |
download | manaplus-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.tar.gz manaplus-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.tar.bz2 manaplus-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.tar.xz manaplus-1939f5fa61fe071ff8e1e4ab0301c6f821c0de8a.zip |
Remove popup handler "clear drops".
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 6 | ||||
-rw-r--r-- | src/actions/actions.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 7596758c8..3c9605fc7 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -1518,4 +1518,10 @@ impHandler(kick) return true; } +impHandler0(clearDrop) +{ + if (dropShortcut) + dropShortcut->clear(); +} + } // namespace Actions diff --git a/src/actions/actions.h b/src/actions/actions.h index 545e92f02..17b4900a0 100644 --- a/src/actions/actions.h +++ b/src/actions/actions.h @@ -102,6 +102,7 @@ namespace Actions decHandler(protectItem); decHandler(unprotectItem); decHandler(kick); + decHandler(clearDrop); } // namespace Actions #undef decHandler |