tag names should always be strings so that our epic feature of saving tiled layouts does not fuck up
This commit is contained in:
		
							parent
							
								
									252144e31b
								
							
						
					
					
						commit
						7d749856a8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								rc.lua
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								rc.lua
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -166,7 +166,7 @@ for s = 1, screen.count() do
 | 
			
		|||
		default_tiled = layouts.tiled[1]
 | 
			
		||||
	end
 | 
			
		||||
	for tag = 1, 9 do
 | 
			
		||||
		local name = tags[s].name[tag] or tag
 | 
			
		||||
		local name = tags[s].name[tag] or tostring(tag)
 | 
			
		||||
		local layout = tags[s].layout[tag] or default_tiled
 | 
			
		||||
		tags[s].name[tag] = name
 | 
			
		||||
		tags[s].layout[tag] = layout
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue