Reordered the query menu
This commit is contained in:
		
							parent
							
								
									712580d08c
								
							
						
					
					
						commit
						77715347c7
					
				| @ -7336,17 +7336,6 @@ void MainWindow::buildQueryMenu(QMenu * menu, QString call){ | |||||||
|         if(m_config.transmit_directed()) toggleTx(true); |         if(m_config.transmit_directed()) toggleTx(true); | ||||||
|     }); |     }); | ||||||
| 
 | 
 | ||||||
|     auto qsoQueryAction = menu->addAction(QString("%1 QSO [CALLSIGN]? - Query if selected callsign can communicate with [CALLSIGN]?").arg(call).trimmed()); |  | ||||||
|     connect(qsoQueryAction, &QAction::triggered, this, [this](){ |  | ||||||
| 
 |  | ||||||
|         QString selectedCall = callsignSelected(); |  | ||||||
|         if(selectedCall.isEmpty()){ |  | ||||||
|             return; |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         addMessageText(QString("%1 QSO [CALLSIGN]?").arg(selectedCall), true, true); |  | ||||||
|     }); |  | ||||||
| 
 |  | ||||||
|     menu->addSeparator(); |     menu->addSeparator(); | ||||||
| 
 | 
 | ||||||
|     auto snrQueryAction = menu->addAction(QString("%1? - What is my signal report?").arg(call)); |     auto snrQueryAction = menu->addAction(QString("%1? - What is my signal report?").arg(call)); | ||||||
| @ -7432,6 +7421,17 @@ void MainWindow::buildQueryMenu(QMenu * menu, QString call){ | |||||||
|         if(m_config.transmit_directed()) toggleTx(true); |         if(m_config.transmit_directed()) toggleTx(true); | ||||||
|     }); |     }); | ||||||
| 
 | 
 | ||||||
|  |     auto qsoQueryAction = menu->addAction(QString("%1 QSO [CALLSIGN]? - Can you communicate directly with [CALLSIGN]?").arg(call).trimmed()); | ||||||
|  |     connect(qsoQueryAction, &QAction::triggered, this, [this](){ | ||||||
|  | 
 | ||||||
|  |         QString selectedCall = callsignSelected(); | ||||||
|  |         if(selectedCall.isEmpty()){ | ||||||
|  |             return; | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         addMessageText(QString("%1 QSO [CALLSIGN]?").arg(selectedCall), true, true); | ||||||
|  |     }); | ||||||
|  | 
 | ||||||
|     auto hashAction = menu->addAction(QString("%1#[MESSAGE] - Please ACK if you receive this message in its entirety").arg(call).trimmed()); |     auto hashAction = menu->addAction(QString("%1#[MESSAGE] - Please ACK if you receive this message in its entirety").arg(call).trimmed()); | ||||||
|     hashAction->setDisabled(isAllCall); |     hashAction->setDisabled(isAllCall); | ||||||
|     connect(hashAction, &QAction::triggered, this, [this](){ |     connect(hashAction, &QAction::triggered, this, [this](){ | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Jordan Sherer
						Jordan Sherer