set systray_enabled to True before we show_icon()
This commit is contained in:
		
							parent
							
								
									f8515777db
								
							
						
					
					
						commit
						fec491607f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1416,8 +1416,8 @@ class Interface:
 | 
				
			||||||
		return False
 | 
							return False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	def show_systray(self):
 | 
						def show_systray(self):
 | 
				
			||||||
		self.systray.show_icon()
 | 
					 | 
				
			||||||
		self.systray_enabled = True
 | 
							self.systray_enabled = True
 | 
				
			||||||
 | 
							self.systray.show_icon()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	def hide_systray(self):
 | 
						def hide_systray(self):
 | 
				
			||||||
		self.systray.hide_icon()
 | 
							self.systray.hide_icon()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue