fix set_current_folder when None
This commit is contained in:
parent
c012427edc
commit
4b620896a5
|
@ -281,6 +281,7 @@ class Preferences(component.Component):
|
|||
widget.set_sensitive(True)
|
||||
|
||||
if modifier == "filename":
|
||||
if value:
|
||||
widget.set_current_folder(value)
|
||||
elif modifier == "active":
|
||||
widget.set_active(value)
|
||||
|
|
Loading…
Reference in New Issue