mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
parent
4a917d171d
commit
e02a63b061
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user