Open settings if no call has been set
This commit is contained in:
		
							parent
							
								
									d4bb4cf49a
								
							
						
					
					
						commit
						eecde27cd8
					
				| @ -163,8 +163,10 @@ QVector<QColor> g_ColorTbl; | |||||||
| 
 | 
 | ||||||
| namespace | namespace | ||||||
| { | { | ||||||
|   Radio::Frequency constexpr default_frequency {14074000}; |   Radio::Frequency constexpr default_frequency {14078500}; | ||||||
|  | 
 | ||||||
|   QRegExp message_alphabet {"[^\\x00-\\x1F]*"}; // base alphabet supported by FT8CALL
 |   QRegExp message_alphabet {"[^\\x00-\\x1F]*"}; // base alphabet supported by FT8CALL
 | ||||||
|  | 
 | ||||||
|   // grid exact match excluding RR73
 |   // grid exact match excluding RR73
 | ||||||
|   QRegularExpression grid_regexp {"\\A(?![Rr]{2}73)[A-Ra-r]{2}[0-9]{2}([A-Xa-x]{2}){0,1}\\z"}; |   QRegularExpression grid_regexp {"\\A(?![Rr]{2}73)[A-Ra-r]{2}[0-9]{2}([A-Xa-x]{2}){0,1}\\z"}; | ||||||
| 
 | 
 | ||||||
| @ -5852,6 +5854,7 @@ void MainWindow::resetMessageUI(){ | |||||||
| bool MainWindow::ensureCallsignSet(){ | bool MainWindow::ensureCallsignSet(){ | ||||||
|     if(m_config.my_callsign().trimmed().isEmpty()){ |     if(m_config.my_callsign().trimmed().isEmpty()){ | ||||||
|         MessageBox::warning_message(this, tr ("Please enter your callsign in the settings.")); |         MessageBox::warning_message(this, tr ("Please enter your callsign in the settings.")); | ||||||
|  |         on_actionSettings_triggered(); | ||||||
|         return false; |         return false; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Jordan Sherer
						Jordan Sherer