-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Node window title with the chain type #758
Update Node window title with the chain type #758
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
8758730
to
91c19fc
Compare
9091492
to
d062d32
Compare
Update Node window with the chain type except for mainnet. This replicates the behaviour of the main window.
d062d32
to
9d37886
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK 9d37886
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK 9d37886
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @BrandonOdiwuor for testing it. Main window is fine, this PR updates the title on the node window (e.g.: Main Menu->Window->Console).
It should work on any platform. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested ACK 9d37886
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested ACK 9d37886
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 9d37886
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 9d37886, tested on Ubuntu 23.10.
const QString chainType = QString::fromStdString(Params().GetChainTypeString()); | ||
const QString title = tr("Node window - [%1]").arg(chainType); | ||
this->setWindowTitle(title); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Missed EOL.
It fixes #544.
Enhance the Node window title by appending the chain type to it, except for the
mainnet
, mirroring the behavior in the main window.There was also some interest on this while discussing network switching.