mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-27 06:47:02 -05:00
Fix formatting brackets in DatabaseWidgetStateSync::setActive function
This commit is contained in:
parent
8b00d0580b
commit
afaa0a3493
@ -50,16 +50,19 @@ void DatabaseWidgetStateSync::setActive(DatabaseWidget* dbWidget)
|
|||||||
if (m_activeDbWidget) {
|
if (m_activeDbWidget) {
|
||||||
m_blockUpdates = true;
|
m_blockUpdates = true;
|
||||||
|
|
||||||
if (!m_mainSplitterSizes.isEmpty())
|
if (!m_mainSplitterSizes.isEmpty()) {
|
||||||
m_activeDbWidget->setMainSplitterSizes(m_mainSplitterSizes);
|
m_activeDbWidget->setMainSplitterSizes(m_mainSplitterSizes);
|
||||||
|
}
|
||||||
|
|
||||||
if (!m_detailSplitterSizes.isEmpty())
|
if (!m_detailSplitterSizes.isEmpty()) {
|
||||||
m_activeDbWidget->setDetailSplitterSizes(m_detailSplitterSizes);
|
m_activeDbWidget->setDetailSplitterSizes(m_detailSplitterSizes);
|
||||||
|
}
|
||||||
|
|
||||||
if (m_activeDbWidget->isInSearchMode())
|
if (m_activeDbWidget->isInSearchMode()) {
|
||||||
restoreSearchView();
|
restoreSearchView();
|
||||||
else
|
} else {
|
||||||
restoreListView();
|
restoreListView();
|
||||||
|
}
|
||||||
|
|
||||||
m_blockUpdates = false;
|
m_blockUpdates = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user