Add "you have not joined any networks" placeholder if networks list is empty.

This commit is contained in:
Adam Ierymenko 2014-01-10 21:40:38 -08:00
parent 9e508779c2
commit d553555880
2 changed files with 70 additions and 1 deletions

View file

@ -238,6 +238,8 @@ void MainWindow::customEvent(QEvent *event)
}
}
ui->noNetworksLabel->setVisible(ui->networkListWidget->count() == 0);
if (this->myAddress.size())
ui->addressButton->setText(this->myAddress);
else ui->addressButton->setText(" ");