Fixed issues with callsigns selected after unsolicited ALLCALL
This commit is contained in:
		
							parent
							
								
									735acb000e
								
							
						
					
					
						commit
						86d47c83b4
					
				| @ -9081,11 +9081,13 @@ QString MainWindow::callsignSelected(){ | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
| #if SELECT_CALLSIGN_FOR_INPUT_TEXT | ||||
|     auto text = ui->extFreeTextMsgEdit->toPlainText().left(11); // Maximum callsign is 6 + / + 4 = 11 characters
 | ||||
|     auto calls = Varicode::parseCallsigns(text); | ||||
|     if(!calls.isEmpty() && text.startsWith(calls.first()) && calls.first() != m_config.my_callsign()){ | ||||
|         return calls.first(); | ||||
|     } | ||||
| #endif | ||||
| 
 | ||||
|     return QString(); | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Jordan Sherer
						Jordan Sherer