Bugfix in preset completion
This commit is contained in:
parent
d8d6d06cbf
commit
e7ab821000
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue