Workaround to fix PasswordDialog's focus
Review Request #130109 - Created April 28, 2017 and submitted
PasswordField does not get focus in PasswordDialog. Using PasswordField::setFocus() does not work.
|When you define a focusProxy you should setFocus to main dialog i.e. pass = new PasswordDialog(this); pass->show(); pass->raise(); pass->setFocus(); http://doc.qt.io/qt-5/qwidget.html#setFocus||Anthony Fieroni|
It doesn't seem to work. With regular password dialog it seems that the focus is on "Cancel" button, while e.g. with vpnc password dialog the focus is on "group password" which is second editable field.