commit ef83328042e972345d7180f9675c85aefeceedb1
parent 385110653b952ac2f0db2505275cc178697c1130
Author: ThomasV <thomasv@gitorious>
Date: Thu, 6 Aug 2015 16:57:57 +0200
fix insert parameter order
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -372,7 +372,7 @@ class ElectrumWindow(QMainWindow):
def update_recently_visited(self, filename=None):
recent = self.config.get('recently_open', [])
if filename and filename not in recent:
- recent.insert(filename, 0)
+ recent.insert(0, filename)
recent = recent[:10]
self.config.set_key('recently_open', recent)
self.recently_visited_menu.clear()