mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 05:27:39 +03:00
Disable entry level Auto-Type
This commit is contained in:
parent
b8f9ac85ec
commit
3f78e5f7a2
8 changed files with 58 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (C) 2023 KeePassXC Team <team@keepassxc.org>
|
||||
* Copyright (C) 2010 Felix Geyer <debfx@fobos.de>
|
||||
* Copyright (C) 2021 KeePassXC Team <team@keepassxc.org>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -1977,6 +1977,16 @@ bool DatabaseWidget::currentEntryHasNotes()
|
|||
return !currentEntry->resolveMultiplePlaceholders(currentEntry->notes()).isEmpty();
|
||||
}
|
||||
|
||||
bool DatabaseWidget::currentEntryHasAutoTypeEnabled()
|
||||
{
|
||||
auto currentEntry = currentSelectedEntry();
|
||||
if (!currentEntry) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return currentEntry->autoTypeEnabled() && currentEntry->groupAutoTypeEnabled();
|
||||
}
|
||||
|
||||
GroupView* DatabaseWidget::groupView()
|
||||
{
|
||||
return m_groupView;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue