mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-09-18 20:04:46 -04:00
Block non-user updates in DatabaseWidgetStateSync.
This commit is contained in:
parent
c806f9ebf4
commit
9391de74c7
4 changed files with 35 additions and 0 deletions
|
@ -724,6 +724,9 @@ void DatabaseWidget::toggleSearch()
|
|||
void DatabaseWidget::closeSearch()
|
||||
{
|
||||
Q_ASSERT(m_lastGroup);
|
||||
|
||||
Q_EMIT listModeAboutToActivate();
|
||||
|
||||
m_groupView->setCurrentGroup(m_lastGroup);
|
||||
m_searchTimer->stop();
|
||||
|
||||
|
@ -732,6 +735,8 @@ void DatabaseWidget::closeSearch()
|
|||
|
||||
void DatabaseWidget::showSearch()
|
||||
{
|
||||
Q_EMIT searchModeAboutToActivate();
|
||||
|
||||
m_searchUi->searchEdit->blockSignals(true);
|
||||
m_searchUi->searchEdit->clear();
|
||||
m_searchUi->searchEdit->blockSignals(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue