GUI: only flush the log when it is visible
This commit is contained in:
		
							parent
							
								
									6d6df1ff6f
								
							
						
					
					
						commit
						5141ddce95
					
				| 
						 | 
					@ -453,5 +453,6 @@ void LogView::flushTimerSlot()
 | 
				
			||||||
void LogView::flushLogSlot()
 | 
					void LogView::flushLogSlot()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    flushLog = true;
 | 
					    flushLog = true;
 | 
				
			||||||
 | 
					    if(flushTimer->isActive())
 | 
				
			||||||
        flushTimerSlot();
 | 
					        flushTimerSlot();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue