mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-09 07:22:50 -04:00
Add enum for EntryModel column.
This commit is contained in:
parent
bf906a7867
commit
34c6b416b0
3 changed files with 19 additions and 11 deletions
|
@ -70,7 +70,7 @@ void EntryView::emitEntryActivationSignal(const QModelIndex& index)
|
|||
{
|
||||
Entry* entry = entryFromIndex(index);
|
||||
|
||||
if (m_sortModel->mapToSource(index).column() == 3) {
|
||||
if (m_sortModel->mapToSource(index).column() == EntryModel::Url) {
|
||||
Q_EMIT openUrl(entry);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue