Moved theme set location
This commit is contained in:
		
							parent
							
								
									e29796bba5
								
							
						
					
					
						commit
						163c83d3b2
					
				@ -32,8 +32,6 @@ class G:
 | 
				
			|||||||
	inidebug = False
 | 
						inidebug = False
 | 
				
			||||||
	theme = 'LightBlue'
 | 
						theme = 'LightBlue'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sg.theme(G.theme)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
def get_dpi():
 | 
					def get_dpi():
 | 
				
			||||||
	import ctypes
 | 
						import ctypes
 | 
				
			||||||
	import win32api # pip install pywin32
 | 
						import win32api # pip install pywin32
 | 
				
			||||||
@ -412,6 +410,7 @@ def main():
 | 
				
			|||||||
	setcmd()
 | 
						setcmd()
 | 
				
			||||||
	if not loadconfig(config_location):
 | 
						if not loadconfig(config_location):
 | 
				
			||||||
		return False
 | 
							return False
 | 
				
			||||||
 | 
						sg.theme(G.theme)
 | 
				
			||||||
	loggedin = False
 | 
						loggedin = False
 | 
				
			||||||
	while True:
 | 
						while True:
 | 
				
			||||||
		if not loggedin:
 | 
							if not loggedin:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user