always save prefix to custom media

This commit is contained in:
Damien Elmes 2011-01-13 05:57:19 +09:00
parent 84fa99397a
commit 6dd98dc04b

View file

@ -183,7 +183,7 @@ class Preferences(QDialog):
def updateMedia(self): def updateMedia(self):
orig = self.origMediaChoice orig = self.origMediaChoice
new = self.dialog.mediaChoice.currentIndex() new = self.dialog.mediaChoice.currentIndex()
if orig == new: if orig == new and orig != 2:
return return
if new == 0: if new == 0:
p = "" p = ""