disabled irc and fixed notice messages in write conn not showing

This commit is contained in:
fourtf
2019-09-22 16:16:08 +02:00
parent f27c8eb1b4
commit fc049d8f45
4 changed files with 41 additions and 7 deletions
@@ -190,6 +190,8 @@ SelectChannelDialog::SelectChannelDialog(QWidget *parent)
auto tab = notebook->addPage(obj.getElement());
tab->setCustomTitle("Irc (Beta)");
tab->setEnable(false);
tab->setVisible(false);
}
layout->setStretchFactor(notebook.getElement(), 1);
@@ -217,7 +219,11 @@ SelectChannelDialog::SelectChannelDialog(QWidget *parent)
[=] { this->close(); });
// restore ui state
// fourtf: enable when releasing irc
#if 0
this->ui_.notebook->selectIndex(getSettings()->lastSelectChannelTab);
#endif
this->ui_.irc.servers->getTableView()->selectRow(
getSettings()->lastSelectIrcConn);
}