summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tabs.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 5edbac7c..12bf08be 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -140,7 +140,13 @@ class Tab(object):
elif command in self.core.commands: # check global commands
self.core.commands[command][0](arg)
else:
- self.core.information(_("Unknown command (%s)") % (command), _('Error'))
+ low = command.lower()
+ if low in self.commands:
+ self.commands[low][0](arg)
+ elif low in self.core.commands:
+ self.core.commands[low][0](arg)
+ else:
+ self.core.information(_("Unknown command (%s)") % (command), _('Error'))
return True
else:
return False