ThomasV 7 years ago
parent
commit
ca07399937
  1. 3
      gui/kivy/uix/dialogs/invoices.py
  2. 2
      gui/kivy/uix/screens.py

3
gui/kivy/uix/dialogs/invoices.py

@ -136,9 +136,6 @@ class InvoicesDialog(Factory.Popup):
for pr in _list:
ci = self.get_card(pr)
invoices_list.add_widget(ci)
if not _list:
msg = _('This screen shows the list of payment requests that have been sent to you. You may also use it to store contact addresses.')
invoices_list.add_widget(EmptyLabel(text=msg))
def do_pay(self, obj):
self.hide_menu()

2
gui/kivy/uix/screens.py

@ -27,8 +27,6 @@ from .context_menu import ContextMenu
from electrum_gui.kivy.i18n import _
class EmptyLabel(Factory.Label):
pass
class CScreen(Factory.Screen):
__events__ = ('on_activate', 'on_deactivate', 'on_enter', 'on_leave')

Loading…
Cancel
Save