mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 00:51:56 -05:00
Issue warning if Log QSO is requested with DX Call field empty.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8430 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
04e4c058d6
commit
a3fdcf7148
@ -4787,7 +4787,9 @@ void MainWindow::on_genStdMsgsPushButton_clicked() //genStdMsgs button
|
|||||||
|
|
||||||
void MainWindow::on_logQSOButton_clicked() //Log QSO button
|
void MainWindow::on_logQSOButton_clicked() //Log QSO button
|
||||||
{
|
{
|
||||||
if (!m_hisCall.size ()) return;
|
if (!m_hisCall.size ()) {
|
||||||
|
MessageBox::warning_message (this, tr ("Warning: DX Call field is empty."));
|
||||||
|
}
|
||||||
// m_dateTimeQSOOn should really already be set but we'll ensure it gets set to something just in case
|
// m_dateTimeQSOOn should really already be set but we'll ensure it gets set to something just in case
|
||||||
if (!m_dateTimeQSOOn.isValid ()) {
|
if (!m_dateTimeQSOOn.isValid ()) {
|
||||||
m_dateTimeQSOOn = QDateTime::currentDateTimeUtc();
|
m_dateTimeQSOOn = QDateTime::currentDateTimeUtc();
|
||||||
|
Loading…
Reference in New Issue
Block a user