commit b6c7a97d5f9ac61f24ca4969b7a63561ba85c6a3
parent 6e33e2605ebcbc548e862a813612b550d76b49ee
Author: ThomasV <thomasv@gitorious>
Date: Sun, 26 Apr 2015 14:31:27 +0200
search invoices list by description
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -967,8 +967,12 @@ class ElectrumWindow(QMainWindow):
self.fee_e.textChanged.connect(entry_changed)
self.invoices_label = QLabel(_('Invoices'))
- self.invoices_list = MyTreeWidget(self, self.create_invoice_menu, [_('Date'), _('Requestor'), _('Memo'), _('Amount'), _('Status')], [150, 150, None, 150, 100])
-
+ self.invoices_list = MyTreeWidget(
+ self,
+ self.create_invoice_menu,
+ [_('Date'), _('Requestor'), _('Description'), _('Amount'), _('Status')],
+ [150, 150, None, 150, 100]
+ )
vbox0 = QVBoxLayout()
vbox0.addLayout(grid)
vbox0.addLayout(buttons)
@@ -1711,7 +1715,7 @@ class ElectrumWindow(QMainWindow):
if i == 0:
self.history_list.filter(t, 2)
elif i == 1:
- self.invoices_list.filter(t, 1)
+ self.invoices_list.filter(t, 2)
elif i == 2:
self.receive_list.filter(t, 3)
elif i == 3: