Fixed bug of disappearing text on enter keypress while transmitter is disabled
This commit is contained in:
parent
220a05e69a
commit
abfe7dd833
@ -1031,6 +1031,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
if(pProcessed) *pProcessed = false;
|
if(pProcessed) *pProcessed = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ui->extFreeTextMsgEdit->isReadOnly()){
|
if(ui->extFreeTextMsgEdit->isReadOnly()){
|
||||||
if(pProcessed) *pProcessed = false;
|
if(pProcessed) *pProcessed = false;
|
||||||
return;
|
return;
|
||||||
@ -1042,6 +1043,10 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!ensureCanTransmit()){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(!ensureCallsignSet(true)){
|
if(!ensureCallsignSet(true)){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user