Skip to content

Fix focus on input field when main window activates

Hennadii Chernyshchyk requested to merge github/fork/VolkMilit/patch-3 into master

Created by: VolkMilit

raise() will set focus on it own on the first element, so focus on any widget before raise() will not work. This PR swap ui->sourceEdit->setFocus() and raise() to fix this.

EDIT: At least this is what happens to me on XFCE, various DEs can behave differently.

Merge request reports

Loading