diff --git a/electrum/gui/qml/components/Channels.qml b/electrum/gui/qml/components/Channels.qml index 4e0bb056b..36f3c742e 100644 --- a/electrum/gui/qml/components/Channels.qml +++ b/electrum/gui/qml/components/Channels.qml @@ -121,6 +121,17 @@ Pane { } ScrollIndicator.vertical: ScrollIndicator { } + + Label { + visible: Daemon.currentWallet.channelModel.rowCount() == 0 + anchors.centerIn: parent + width: listview.width * 4/5 + font.pixelSize: constants.fontSizeXXLarge + color: constants.mutedForeground + text: qsTr('You have no Lightning channels yet in this wallet') + wrapMode: Text.Wrap + horizontalAlignment: Text.AlignHCenter + } } } } diff --git a/electrum/gui/qml/components/History.qml b/electrum/gui/qml/components/History.qml index d46353326..23b5a7fb2 100644 --- a/electrum/gui/qml/components/History.qml +++ b/electrum/gui/qml/components/History.qml @@ -82,6 +82,16 @@ Pane { ScrollIndicator.vertical: ScrollIndicator { } + Label { + visible: Daemon.currentWallet.historyModel.rowCount() == 0 + anchors.centerIn: parent + width: listview.width * 4/5 + font.pixelSize: constants.fontSizeXXLarge + color: constants.mutedForeground + text: qsTr('No transactions yet in this wallet') + wrapMode: Text.Wrap + horizontalAlignment: Text.AlignHCenter + } } MouseArea {