From c3b65b4db06cffdda6d5bae5906c8d5e2b317c57 Mon Sep 17 00:00:00 2001 From: fourtf Date: Sun, 15 Sep 2019 11:42:22 +0200 Subject: [PATCH] select the right server in the dialog --- src/widgets/dialogs/SelectChannelDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/dialogs/SelectChannelDialog.cpp b/src/widgets/dialogs/SelectChannelDialog.cpp index 8dcc42bee..07aea7fa8 100644 --- a/src/widgets/dialogs/SelectChannelDialog.cpp +++ b/src/widgets/dialogs/SelectChannelDialog.cpp @@ -131,7 +131,6 @@ SelectChannelDialog::SelectChannelDialog(QWidget *parent) { LayoutCreator obj(new QWidget()); auto outerBox = obj.setLayoutType(); - // outerBox.emplace("Connection:"); { auto view = this->ui_.irc.servers = new EditableModelView( @@ -291,6 +290,7 @@ void SelectChannelDialog::setSelectedChannel(IndirectChannel _channel) this->ui_.irc.servers->getTableView()->selectRow(i); break; } + i++; } } }