Remove extra self param from store_preset call. (#381)

It looks like an extra "self" parameter was added to the store_preset call in the add_preset function.

This prevents add_preset from working.
pull/364/head
redhat421 2019-01-15 16:45:31 -08:00 zatwierdzone przez Lex Neva
rodzic 7b04eb1234
commit f3cdcfbdfa
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -141,7 +141,7 @@ class PresetsPanel(wx.Panel):
if not overwrite and preset_name in self._load_presets():
info_dialog(self, _('Preset "%s" already exists. Please use another name or press "Overwrite"') % preset_name, caption=_('Preset'))
self.store_preset(self, preset_name, self.parent.get_preset_data())
self.store_preset(preset_name, self.parent.get_preset_data())
event.Skip()