Skip to content
Snippets Groups Projects
Commit 0175f6e9 authored by inso's avatar inso
Browse files

Add back the block number in statusbar

parent c4d0f7cf
No related branches found
No related tags found
No related merge requests found
...@@ -233,6 +233,7 @@ class CommunityWidget(QWidget, Ui_CommunityWidget): ...@@ -233,6 +233,7 @@ class CommunityWidget(QWidget, Ui_CommunityWidget):
current_block_number = self.community.network.current_blockid.number current_block_number = self.community.network.current_blockid.number
if current_block_number: if current_block_number:
text += self.tr("Block {0}").format(current_block_number)
try: try:
block = await self.community.get_block(current_block_number) block = await self.community.get_block(current_block_number)
text += " ({0})".format(QLocale.toString( text += " ({0})".format(QLocale.toString(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment