Automatically focus on input when opening a dialog
This commit is contained in:
parent
eea33062e3
commit
9de2db2fb8
6 changed files with 27 additions and 0 deletions
|
|
@ -147,3 +147,11 @@ InviteUsers::invitedUsers() const
|
|||
|
||||
return users;
|
||||
}
|
||||
|
||||
void
|
||||
InviteUsers::showEvent(QShowEvent *event)
|
||||
{
|
||||
inviteeInput_->setFocus();
|
||||
|
||||
QFrame::showEvent(event);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue