]> git.lyx.org Git - lyx.git/commit
#12423 fix a focus change problem
authorStephan Witt <switt@lyx.org>
Sun, 9 Jan 2022 21:33:43 +0000 (22:33 +0100)
committerStephan Witt <switt@lyx.org>
Sun, 9 Jan 2022 21:33:43 +0000 (22:33 +0100)
commit678ab325c0a38b475a60a9045691789d115b2491
treea1b6f1ce902ea13d2e2b155dca5a33765098c3fd
parent22045e455aeb1ecec4507331e4e171bdf21c116d
#12423 fix a focus change problem

The search widget triggers a showEvent() in updateTitle() leading to setting the focus to the default push button.
The check in updateTitle() for the need to restore the title avoids superfluous show events and avoids the unwanted focus change.
src/frontends/qt/GuiSearch.cpp