From d6cbdecefb6ec20ea672db9ff02be818a3c6bded Mon Sep 17 00:00:00 2001 From: Ladislav Foldyna Date: Wed, 13 Apr 2022 10:42:22 +0200 Subject: [PATCH] Fixed #40 - Added DOK field --- ui/NewContactWidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/NewContactWidget.cpp b/ui/NewContactWidget.cpp index 0e55cfbb..a6261b4a 100644 --- a/ui/NewContactWidget.cpp +++ b/ui/NewContactWidget.cpp @@ -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") ) @@ -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); }