diff options
-rw-r--r-- | src/gui/shortcut/shortcutbase.h | 2 | ||||
-rw-r--r-- | src/progs/manaplus/actions/actions.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shortcut/shortcutbase.h b/src/gui/shortcut/shortcutbase.h index 90ca41ee7..62d7167dc 100644 --- a/src/gui/shortcut/shortcutbase.h +++ b/src/gui/shortcut/shortcutbase.h @@ -126,7 +126,7 @@ class ShortcutBase notfinal void removeItem(const size_t index) { mItems[index] = -1; save(); } - void clear(const bool isSave = true); + void clear(const bool isSave); private: int *mItems A_NONNULLPOINTER; diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index 715192bf9..9ec38cf20 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -1863,7 +1863,7 @@ impHandler(kick) impHandler0(clearDrop) { if (dropShortcut != nullptr) - dropShortcut->clear(); + dropShortcut->clear(true); return true; } |