summaryrefslogtreecommitdiffhomepage
path: root/logic/shortcuts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/shortcuts.cpp')
-rw-r--r--logic/shortcuts.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/logic/shortcuts.cpp b/logic/shortcuts.cpp
index 27d47c8b..6d77c3e0 100644
--- a/logic/shortcuts.cpp
+++ b/logic/shortcuts.cpp
@@ -106,6 +106,11 @@ void Shortcuts::receiver(const Key& k)
}
#endif
+Shortcuts::~Shortcuts()
+{
+ reload({});
+}
+
void Shortcuts::reload(const t_keys& keys_)
{
const unsigned sz = keys_.size();