QTfrontend/ui/page/pagenet.cpp
changeset 14883 ea2a1436cdd3
parent 14865 90cf07c60feb
child 14942 05cde9ba4183
--- a/QTfrontend/ui/page/pagenet.cpp	Sun May 05 14:27:19 2019 +0200
+++ b/QTfrontend/ui/page/pagenet.cpp	Sun May 05 15:05:48 2019 +0200
@@ -52,6 +52,11 @@
 
     tvServersList = new QTableView(ConnGroupBox);
     tvServersList->setSelectionBehavior(QAbstractItemView::SelectRows);
+    tvServersList->setSelectionMode(QAbstractItemView::SingleSelection);
+    tvServersList->setShowGrid(false);
+    tvServersList->setAlternatingRowColors(true);
+    tvServersList->verticalHeader()->setVisible(false);
+
     GBClayout->addWidget(tvServersList, 1, 0, 1, 3);
 
     BtnUpdateSList = new QPushButton(ConnGroupBox);