mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
History: fix txid column behavior
This commit is contained in:
parent
ba127b4251
commit
27f3e96686
1 changed files with 6 additions and 1 deletions
|
@ -82,11 +82,16 @@ TransactionInfo* HistoryView::currentEntry()
|
|||
}
|
||||
|
||||
void HistoryView::setSearchMode(bool mode) {
|
||||
if (!m_inSearchMode) {
|
||||
m_showTxidColumn = !header()->isSectionHidden(TransactionHistoryModel::TxID);
|
||||
}
|
||||
|
||||
m_inSearchMode = mode;
|
||||
|
||||
if (mode) {
|
||||
header()->showSection(TransactionHistoryModel::TxID);
|
||||
} else {
|
||||
}
|
||||
else if (!m_showTxidColumn) {
|
||||
header()->hideSection(TransactionHistoryModel::TxID);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue