git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ca88db9
)
video_device default should be string
author
ThomasV
<thomasv@gitorious>
Wed, 25 Jun 2014 08:50:18 +0000 (10:50 +0200)
committer
ThomasV
<thomasv@gitorious>
Wed, 25 Jun 2014 08:50:18 +0000 (10:50 +0200)
plugins/qrscanner.py
patch
|
blob
|
history
diff --git
a/plugins/qrscanner.py
b/plugins/qrscanner.py
index
66a05d9
..
e99a0bc
100644
(file)
--- 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)