Merge lp:~volchanetskiy/qreator/trunk into lp:qreator

Proposed by Ilya Volchanetskiy
Status: Merged
Merged at revision: 153
Proposed branch: lp:~volchanetskiy/qreator/trunk
Merge into: lp:qreator
Diff against target: 11 lines (+1/-1)
1 file modified
qreator/qrcodes/QRCodeURLGtk.py (+1/-1)
To merge this branch: bzr merge lp:~volchanetskiy/qreator/trunk
Reviewer Review Type Date Requested Status
David Planella Approve
Review via email: mp+161281@code.launchpad.net

Description of the change

Fixed incorrect protocol removal.

To post a comment you must log in.
Revision history for this message
David Planella (dpm) wrote :

Looks good to me, merging for the upcoming release.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qreator/qrcodes/QRCodeURLGtk.py'
2--- qreator/qrcodes/QRCodeURLGtk.py 2012-12-05 23:29:52 +0000
3+++ qreator/qrcodes/QRCodeURLGtk.py 2013-04-27 09:19:26 +0000
4@@ -227,7 +227,7 @@
5 for n, protocol in enumerate(
6 [mr[0] for mr in self.combobox.get_model()]):
7 if widget.get_text().strip().startswith(protocol):
8- widget.set_text(widget.get_text().strip().strip(protocol))
9+ widget.set_text(widget.get_text().strip()[len(protocol):])
10 self.combobox.set_active(n)
11 return
12

Subscribers

People subscribed via source and target branches