From d8ffbcaf5f1c581321bb121f233b1e16b2f846d1 Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Thu, 8 Dec 2016 21:17:13 -0500 Subject: [PATCH] Fix to allow creation of a new connection even if another connection exists or the only connection was deleted. --- connectionwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/connectionwindow.cpp b/connectionwindow.cpp index d5c61b3..e8e1477 100644 --- a/connectionwindow.cpp +++ b/connectionwindow.cpp @@ -122,6 +122,7 @@ void ConnectionWindow::setActiveAll(bool pActive) void ConnectionWindow::handleNewConn() { ui->tableConnections->setCurrentIndex(QModelIndex()); + currentRowChanged(ui->tableConnections->currentIndex(), ui->tableConnections->currentIndex()); }