diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-01-10 21:40:38 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-01-10 21:40:38 -0800 |
| commit | d5535558805178c3c5eca101f54d4333a5738b8e (patch) | |
| tree | 8f1a00e6b8915a470d08e2acf931e0e5ee36e4a9 /ZeroTierUI/mainwindow.cpp | |
| parent | 9e508779c2bcf6905d7bd83d627c2e19629c2958 (diff) | |
| download | infinitytier-d5535558805178c3c5eca101f54d4333a5738b8e.tar.gz infinitytier-d5535558805178c3c5eca101f54d4333a5738b8e.zip | |
Add "you have not joined any networks" placeholder if networks list is empty.
Diffstat (limited to 'ZeroTierUI/mainwindow.cpp')
| -rw-r--r-- | ZeroTierUI/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ZeroTierUI/mainwindow.cpp b/ZeroTierUI/mainwindow.cpp index fc434782..90c69d2a 100644 --- a/ZeroTierUI/mainwindow.cpp +++ b/ZeroTierUI/mainwindow.cpp @@ -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(" "); |
