fix #4050
This commit is contained in:
@@ -136,9 +136,6 @@ class InvoicesDialog(Factory.Popup):
|
|||||||
for pr in _list:
|
for pr in _list:
|
||||||
ci = self.get_card(pr)
|
ci = self.get_card(pr)
|
||||||
invoices_list.add_widget(ci)
|
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):
|
def do_pay(self, obj):
|
||||||
self.hide_menu()
|
self.hide_menu()
|
||||||
|
|||||||
@@ -27,8 +27,6 @@ from .context_menu import ContextMenu
|
|||||||
|
|
||||||
from electrum_gui.kivy.i18n import _
|
from electrum_gui.kivy.i18n import _
|
||||||
|
|
||||||
class EmptyLabel(Factory.Label):
|
|
||||||
pass
|
|
||||||
|
|
||||||
class CScreen(Factory.Screen):
|
class CScreen(Factory.Screen):
|
||||||
__events__ = ('on_activate', 'on_deactivate', 'on_enter', 'on_leave')
|
__events__ = ('on_activate', 'on_deactivate', 'on_enter', 'on_leave')
|
||||||
|
|||||||
Reference in New Issue
Block a user