Fix an exception with an unexpected keyword getting passed to set_cursor
This commit is contained in:
parent
321c4a7ba9
commit
96a1e67749
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue