Skip to content

Commit

Permalink
Fixed #40 - Added DOK field
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Apr 13, 2022
1 parent 9ea477c commit d6cbdec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/NewContactWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@ void NewContactWidget::queryDatabase(QString callsign)
" gridsquare, "
" notes_intl, "
" email, "
" web "
" web ,"
" darc_dok "
"FROM contacts "
"WHERE callsign = :callsign "
"ORDER BY start_time DESC LIMIT 1") )
Expand All @@ -430,6 +431,7 @@ void NewContactWidget::queryDatabase(QString callsign)
ui->noteEdit->insertPlainText(query.value(3).toString());
ui->emailEdit->setText(query.value(4).toString());
ui->urlEdit->setText(query.value(5).toString());
ui->dokEdit->setText(query.value(6).toString());

emit filterCallsign(callsign);
}
Expand Down

0 comments on commit d6cbdec

Please sign in to comment.