summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qml/mageiawelcome.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py
index 0870f6b..c6bedd0 100644
--- a/qml/mageiawelcome.py
+++ b/qml/mageiawelcome.py
@@ -43,10 +43,14 @@ class ConfList(QAbstractListModel):
# Search active network connections
net = QNetworkConfigurationManager()
- netconfs = ""
+ first = True
if net.isOnline():
confs = net.allConfigurations(QNetworkConfiguration.Active)
for conf in confs:
+ if first:
+ netconfs = conf.name()
+ first = False
+ else:
netconfs += ", " + conf.name()
self.configuration = [