Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport Bug Fixes and Crash Fixes to 2.7.7 #10250

Merged
merged 12 commits into from
Feb 4, 2024
Prev Previous commit
Next Next commit
Fix focus loss on save when the widget is not visible anymore
BGM99 authored and droidmonkey committed Jan 30, 2024

Verified

This commit was signed with the committer’s verified signature.
droidmonkey Jonathan White
commit 8ec50c6158d52ef477f27464494541695c015025
2 changes: 1 addition & 1 deletion src/gui/DatabaseWidget.cpp
Original file line number Diff line number Diff line change
@@ -2155,7 +2155,7 @@ bool DatabaseWidget::performSave(QString& errorMessage, const QString& fileName)
m_groupView->setDisabled(false);
m_tagView->setDisabled(false);

if (focusWidget) {
if (focusWidget && focusWidget->isVisible()) {
focusWidget->setFocus();
}