remuxer.py: do not crash when clicking open without having selected a file
https://bugzilla.gnome.org/show_bug.cgi?id=639421
This commit is contained in:
parent
bbeaad89bd
commit
3e3795068e
@ -722,7 +722,7 @@ class PlayerWindow(gtk.Window):
|
||||
uri = chooser.get_uri()
|
||||
chooser.destroy()
|
||||
|
||||
if resp == SUCCESS:
|
||||
if resp == SUCCESS and uri != None:
|
||||
self.load_file(uri)
|
||||
return True
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user