URI: 
       tkivy: show error message with qr scanner - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 8c365fd6811016977f365d0b6bfcd2efb712528c
   DIR parent 1028c9282bda885eeb1eb1e86d0f39cac55b8e1f
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu, 25 Feb 2016 16:55:38 +0100
       
       kivy: show error message with qr scanner
       
       Diffstat:
         M gui/kivy/main_window.py             |       6 ++++++
       
       1 file changed, 6 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py
       t@@ -317,6 +317,12 @@ class ElectrumWindow(App):
                            contents = intent.getStringExtra("SCAN_RESULT")
                            if intent.getStringExtra("SCAN_RESULT_FORMAT") == 'QR_CODE':
                                on_complete(contents)
       +                    else:
       +                        self.show_error("wrong format " + intent.getStringExtra("SCAN_RESULT_FORMAT"))
       +                else:
       +                    self.show_error("wrong resultCode %d" % resultCode)
       +            else:
       +                self.show_error("wrong requestCode %d" % requestCode)
                activity.bind(on_activity_result=on_qr_result)
                try:
                    PythonActivity.mActivity.startActivityForResult(intent, 0)