Bugfix in preset completion

This commit is contained in:
Shy 2017-04-23 22:50:34 +02:00
parent d8d6d06cbf
commit e7ab821000

View file

@ -864,7 +864,7 @@ class ColorScheme: # {{{1
self.available.extend(self._virtual_presets) self.available.extend(self._virtual_presets)
# Search for an exact match first. # Search for an exact match first.
if a in self.available: return a if preset in self.available: return preset
# Return anything which begins with the name given. # Return anything which begins with the name given.
for a in self.available: for a in self.available: