URI: 
       tMerge pull request #1176 from kyuupichan/no_ugly_flash - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit baa178509a7cb4211c2f9d4ddecf5e2e35282e2b
   DIR parent 8dbb5e2a870c55f84ed8fcd01273f974df1c99cc
  HTML Author: ThomasV <electrumdev@gmail.com>
       Date:   Thu, 30 Apr 2015 06:56:36 +0200
       
       Merge pull request #1176 from kyuupichan/no_ugly_flash
       
       Avoid ugly flash of small window during startup.
       Diffstat:
         M gui/qt/main_window.py               |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
       t@@ -922,7 +922,6 @@ class ElectrumWindow(QMainWindow):
                self.fee_e = BTCAmountEdit(self.get_decimal_point)
                grid.addWidget(self.fee_e_label, 5, 0)
                grid.addWidget(self.fee_e, 5, 1, 1, 2)
       -        self.update_fee_edit()
        
                self.send_button = EnterButton(_("Send"), self.do_send)
                self.clear_button = EnterButton(_("Clear"), self.do_clear)
       t@@ -987,6 +986,9 @@ class ElectrumWindow(QMainWindow):
                vbox.addWidget(self.invoices_label)
                vbox.addWidget(self.invoices_list)
        
       +        # Defer this until grid is parented to avoid ugly flash during startup
       +        self.update_fee_edit()
       +
                run_hook('create_send_tab', grid)
                return w