Make button config menu save changes to disk whenever the changes are accepted.
This commit is contained in:
		
							parent
							
								
									11cfe887c2
								
							
						
					
					
						commit
						7413c3d994
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -678,6 +678,9 @@ struct SettingsMenuPrivate
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		rtData.bindingUpdateMsg.post(binds);
 | 
							rtData.bindingUpdateMsg.post(binds);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							/* Store the key bindings to disk as well to prevent config loss */
 | 
				
			||||||
 | 
							storeBindings(binds, rtData.config);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		destroyReq = true;
 | 
							destroyReq = true;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue