diff --git a/ZeroTierUI/mainwindow.cpp b/ZeroTierUI/mainwindow.cpp
index fc434782f..90c69d2a9 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(" ");
diff --git a/ZeroTierUI/mainwindow.ui b/ZeroTierUI/mainwindow.ui
index 306e4523e..d97ece8d4 100644
--- a/ZeroTierUI/mainwindow.ui
+++ b/ZeroTierUI/mainwindow.ui
@@ -34,6 +34,73 @@
0
+ -
+
+
+
+
+
+
+
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+
+ 127
+ 127
+ 127
+
+
+
+
+
+
+
+
+ 16
+
+
+
+ QFrame::NoFrame
+
+
+ You Have Not Joined Any Networks
+
+
+ Qt::PlainText
+
+
+ Qt::AlignCenter
+
+
+ true
+
+
+ 25
+
+
+ Qt::NoTextInteraction
+
+
+
-
@@ -135,7 +202,7 @@ QPushButton:pressed {
s
-
+
true