Add "you have not joined any networks" placeholder if networks list is empty.
This commit is contained in:
parent
9e508779c2
commit
d553555880
2 changed files with 70 additions and 1 deletions
|
@ -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(" ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue