Fixed bug when there is no cd burner installed
This commit is contained in:
parent
c518683fbc
commit
46da595b05
3 changed files with 8 additions and 2 deletions
|
|
@ -453,7 +453,10 @@ class interface_manager(GObject.GObject):
|
|||
|
||||
for element in self.interface_comboboxes:
|
||||
obj = builder.get_object(element[0])
|
||||
exec('self.' + element[0] + ' = element[1][obj.get_active()]')
|
||||
if (len(element[1]) != 0):
|
||||
exec('self.' + element[0] + ' = element[1][obj.get_active()]')
|
||||
else:
|
||||
exec('self.' + element[0] + ' = ""')
|
||||
|
||||
def save_ui(self):
|
||||
""" Makes a copy of all the UI variables """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue