mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #3132
Polshakov Dmitry (1): fix(widget): Change focus after create group
This commit is contained in:
commit
01c56a3af6
|
@ -1600,6 +1600,7 @@ Group *Widget::createGroup(int groupId)
|
||||||
|
|
||||||
contactListWidget->addGroupWidget(newgroup->getGroupWidget());
|
contactListWidget->addGroupWidget(newgroup->getGroupWidget());
|
||||||
newgroup->getGroupWidget()->updateStatusLight();
|
newgroup->getGroupWidget()->updateStatusLight();
|
||||||
|
contactListWidget->activateWindow();
|
||||||
|
|
||||||
connect(settingsWidget, &SettingsWidget::compactToggled, newgroup->getGroupWidget(), &GenericChatroomWidget::compactChange);
|
connect(settingsWidget, &SettingsWidget::compactToggled, newgroup->getGroupWidget(), &GenericChatroomWidget::compactChange);
|
||||||
connect(newgroup->getGroupWidget(), SIGNAL(chatroomWidgetClicked(GenericChatroomWidget*,bool)), this, SLOT(onChatroomWidgetClicked(GenericChatroomWidget*,bool)));
|
connect(newgroup->getGroupWidget(), SIGNAL(chatroomWidgetClicked(GenericChatroomWidget*,bool)), this, SLOT(onChatroomWidgetClicked(GenericChatroomWidget*,bool)));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user