Hide history row when viewing history items.
This commit is contained in:
@@ -177,6 +177,9 @@ void EditEntryWidget::loadEntry(Entry* entry, bool create, bool history, const Q
|
||||
}
|
||||
|
||||
setForms(entry);
|
||||
|
||||
setCurrentRow(0);
|
||||
setRowHidden(4, m_history);
|
||||
}
|
||||
|
||||
void EditEntryWidget::setForms(const Entry* entry, bool restore)
|
||||
@@ -247,8 +250,6 @@ void EditEntryWidget::setForms(const Entry* entry, bool restore)
|
||||
|
||||
updateHistoryButtons(m_historyUi->historyView->currentIndex(), QModelIndex());
|
||||
|
||||
setCurrentRow(0);
|
||||
|
||||
m_mainUi->titleEdit->setFocus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user