video_device default should be string

This commit is contained in:
ThomasV 2014-06-25 10:50:18 +02:00
parent ca88db996b
commit 8d06fc0143

View file

@ -137,7 +137,7 @@ class Plugin(BasePlugin):
if self.config.get("video_device") == "default": if self.config.get("video_device") == "default":
self.video_device_edit.setText("") self.video_device_edit.setText("")
else: else:
self.video_device_edit.setText(self.config.get("video_device")) self.video_device_edit.setText(self.config.get("video_device",''))
else: else:
custom_device_label.setVisible(False) custom_device_label.setVisible(False)
self.video_device_edit.setVisible(False) self.video_device_edit.setVisible(False)