1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(widget): Change focus after create group

Fix #3128.
This commit is contained in:
Polshakov Dmitry 2016-04-12 15:52:08 +03:00
parent dde56c99ec
commit b111c509a7

View File

@ -1593,6 +1593,7 @@ Group *Widget::createGroup(int groupId)
contactListWidget->addGroupWidget(newgroup->getGroupWidget());
newgroup->getGroupWidget()->updateStatusLight();
contactListWidget->activateWindow();
connect(settingsWidget, &SettingsWidget::compactToggled, newgroup->getGroupWidget(), &GenericChatroomWidget::compactChange);
connect(newgroup->getGroupWidget(), SIGNAL(chatroomWidgetClicked(GenericChatroomWidget*,bool)), this, SLOT(onChatroomWidgetClicked(GenericChatroomWidget*,bool)));