mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
@@ -1813,7 +1813,7 @@ bool DatabaseWidget::save()
|
|||||||
m_blockAutoSave = true;
|
m_blockAutoSave = true;
|
||||||
++m_saveAttempts;
|
++m_saveAttempts;
|
||||||
|
|
||||||
auto focusWidget = qApp->focusWidget();
|
QPointer<QWidget> focusWidget(qApp->focusWidget());
|
||||||
|
|
||||||
// TODO: Make this async
|
// TODO: Make this async
|
||||||
// Lock out interactions
|
// Lock out interactions
|
||||||
@@ -1887,7 +1887,7 @@ bool DatabaseWidget::saveAs()
|
|||||||
|
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
if (!newFilePath.isEmpty()) {
|
if (!newFilePath.isEmpty()) {
|
||||||
auto focusWidget = qApp->focusWidget();
|
QPointer<QWidget> focusWidget(qApp->focusWidget());
|
||||||
|
|
||||||
// Lock out interactions
|
// Lock out interactions
|
||||||
m_entryView->setDisabled(true);
|
m_entryView->setDisabled(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user