commit 8d06fc0143a26ad4f3d0add1d941b0932601e21b
parent ca88db996b6e2075d7b06c0d69843e1bbeae2307
Author: ThomasV <thomasv@gitorious>
Date: Wed, 25 Jun 2014 10:50:18 +0200
video_device default should be string
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/qrscanner.py b/plugins/qrscanner.py
@@ -137,7 +137,7 @@ class Plugin(BasePlugin):
if self.config.get("video_device") == "default":
self.video_device_edit.setText("")
else:
- self.video_device_edit.setText(self.config.get("video_device"))
+ self.video_device_edit.setText(self.config.get("video_device",''))
else:
custom_device_label.setVisible(False)
self.video_device_edit.setVisible(False)