aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index c4099f6..78ad912 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -117,8 +117,8 @@ void Keys::deleteTree() {
117 delete *it; 117 delete *it;
118 map_it->second->clear(); 118 map_it->second->clear();
119 delete map_it->second; 119 delete map_it->second;
120 m_map.erase(map_it->first);
121 } 120 }
121 m_map.clear();
122} 122}
123 123
124/** 124/**
@@ -343,7 +343,6 @@ bool Keys::doAction(XKeyEvent &ke) {
343 returns true on success else false 343 returns true on success else false
344*/ 344*/
345bool Keys::reconfigure(const char *filename) { 345bool Keys::reconfigure(const char *filename) {
346 deleteTree();
347 return load(filename); 346 return load(filename);
348} 347}
349 348