mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Merge pull request #40268 from DanielZTing/master
Fix cancel/OK button order on macOS
This commit is contained in:
		
						commit
						c8523038cc
					
				
					 17 changed files with 27 additions and 27 deletions
				
			
		|  | @ -667,7 +667,7 @@ ShaderEditor::ShaderEditor(EditorNode *p_node) { | |||
| 	disk_changed->connect("confirmed", callable_mp(this, &ShaderEditor::_reload_shader_from_disk)); | ||||
| 	disk_changed->get_ok()->set_text(TTR("Reload")); | ||||
| 
 | ||||
| 	disk_changed->add_button(TTR("Resave"), !DisplayServer::get_singleton()->get_swap_ok_cancel(), "resave"); | ||||
| 	disk_changed->add_button(TTR("Resave"), !DisplayServer::get_singleton()->get_swap_cancel_ok(), "resave"); | ||||
| 	disk_changed->connect("custom_action", callable_mp(this, &ShaderEditor::save_external_data)); | ||||
| 
 | ||||
| 	add_child(disk_changed); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rémi Verschelde
						Rémi Verschelde