Yet more UI work.

This commit is contained in:
Adam Ierymenko 2013-12-19 18:15:34 -08:00
parent 704ee6f6c7
commit 434a2f7071
3 changed files with 29 additions and 24 deletions

View file

@ -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);
}
}