URI: 
       tuse ex_combo.findIndex instead of list.index - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 34a550864d21e286aa8cec20c112bc39a445c30e
   DIR parent f50111f15ab728c66442f5d2c7dbfaa37204c78a
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Mon,  9 Jan 2017 10:32:23 +0100
       
       use ex_combo.findIndex instead of list.index
       
       Diffstat:
         M gui/qt/main_window.py               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
       t@@ -2501,7 +2501,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
                block_ex_label = HelpLabel(_('Online Block Explorer') + ':', msg)
                block_ex_combo = QComboBox()
                block_ex_combo.addItems(block_explorers)
       -        block_ex_combo.setCurrentIndex(block_explorers.index(block_explorer(self.config)))
       +        block_ex_combo.setCurrentIndex(block_ex_combo.findText(block_explorer(self.config)))
                def on_be(x):
                    be_result = block_explorers[block_ex_combo.currentIndex()]
                    self.config.set_key('block_explorer', be_result, True)