fix #395
This commit is contained in:
		
							parent
							
								
									265f10e499
								
							
						
					
					
						commit
						a36099b2b3
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -30,7 +30,7 @@ | |||
|   <url type="donation">https://martinrotter.github.io/donate/</url> | ||||
|   <content_rating type="oars-1.1" /> | ||||
|   <releases> | ||||
|     <release version="3.9.1" date="2021-04-06"/> | ||||
|     <release version="3.9.1" date="2021-04-09"/> | ||||
|   </releases> | ||||
|   <content_rating type="oars-1.0"> | ||||
|     <content_attribute id="violence-cartoon">none</content_attribute> | ||||
|  |  | |||
|  | @ -464,7 +464,7 @@ void FormMain::switchVisibility(bool force_hide) { | |||
| 
 | ||||
| void FormMain::display() { | ||||
|   // Make sure window is not minimized.
 | ||||
|   showNormal(); | ||||
|   setWindowState((windowState() & ~Qt::WindowState::WindowMinimized) | Qt::WindowState::WindowActive); | ||||
| 
 | ||||
|   // Display the window and make sure it is raised on top.
 | ||||
|   show(); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue