mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 04:50:29 -04:00 
			
		
		
		
	Corrected scope GUI displays that depend on sample rate
This commit is contained in:
		
							parent
							
								
									770ea3c586
								
							
						
					
					
						commit
						2f195ce6de
					
				| @ -52,8 +52,6 @@ void GLScopeGUI::setBuddies(MessageQueue* messageQueue, ScopeVis* scopeVis, GLSc | |||||||
| void GLScopeGUI::setSampleRate(int sampleRate) | void GLScopeGUI::setSampleRate(int sampleRate) | ||||||
| { | { | ||||||
| 	m_sampleRate = sampleRate; | 	m_sampleRate = sampleRate; | ||||||
| 	setTimeScaleDisplay(); |  | ||||||
| 	setTimeOfsDisplay(); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void GLScopeGUI::resetToDefaults() | void GLScopeGUI::resetToDefaults() | ||||||
| @ -241,12 +239,19 @@ void GLScopeGUI::on_scope_traceSizeChanged(int) | |||||||
| { | { | ||||||
| 	setTimeScaleDisplay(); | 	setTimeScaleDisplay(); | ||||||
| 	setTimeOfsDisplay(); | 	setTimeOfsDisplay(); | ||||||
|  | 	setTrigPreDisplay(); | ||||||
|  | 	applySettings(); | ||||||
|  | 	applyTriggerSettings(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void GLScopeGUI::on_scope_sampleRateChanged(int) | void GLScopeGUI::on_scope_sampleRateChanged(int) | ||||||
| { | { | ||||||
|  | 	m_sampleRate = m_glScope->getSampleRate(); | ||||||
| 	setTimeScaleDisplay(); | 	setTimeScaleDisplay(); | ||||||
| 	setTimeOfsDisplay(); | 	setTimeOfsDisplay(); | ||||||
|  | 	setTrigPreDisplay(); | ||||||
|  | 	applySettings(); | ||||||
|  | 	applyTriggerSettings(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void GLScopeGUI::setTimeScaleDisplay() | void GLScopeGUI::setTimeScaleDisplay() | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user