Yet more UI work.
This commit is contained in:
parent
704ee6f6c7
commit
434a2f7071
3 changed files with 29 additions and 24 deletions
|
@ -44,9 +44,11 @@ void NetworkWidget::setStatus(const std::string &status,const std::string &age)
|
|||
void NetworkWidget::setNetworkName(const std::string &name)
|
||||
{
|
||||
if (name == "?") {
|
||||
ui->nameLabel->setText((QString("( ")+this->networkId().c_str())+" )");
|
||||
ui->nameLabel->setText("... waiting ...");
|
||||
ui->nameLabel->setEnabled(false);
|
||||
} else {
|
||||
ui->nameLabel->setText(QString(name.c_str()));
|
||||
ui->nameLabel->setEnabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue