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;
|
||||
return;
|
||||
}
|
||||
|
||||
if(ui->extFreeTextMsgEdit->isReadOnly()){
|
||||
if(pProcessed) *pProcessed = false;
|
||||
return;
|
||||
@ -1042,6 +1043,10 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
||||
return;
|
||||
}
|
||||
|
||||
if(!ensureCanTransmit()){
|
||||
return;
|
||||
}
|
||||
|
||||
if(!ensureCallsignSet(true)){
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user