Fix an exception with an unexpected keyword getting passed to set_cursor

This commit is contained in:
Stephen Boddy 2017-02-06 17:32:30 +01:00
parent 321c4a7ba9
commit 96a1e67749
1 changed files with 1 additions and 2 deletions

View File

@ -1189,8 +1189,7 @@ class PrefsEditor:
res = model.append([name, True]) res = model.append([name, True])
if res: if res:
path = model.get_path(res) path = model.get_path(res)
treeview.set_cursor(path, focus_column=treeview.get_column(0), treeview.set_cursor(path, start_editing=True)
start_editing=True)
self.config.save() self.config.save()