Fixed bug of disappearing text on enter keypress while transmitter is disabled
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user