mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix cancel/OK button order on macOS
The macOS platform convention regarding button order is cancel on left, OK on right.
This commit is contained in:
parent
dcd11faad3
commit
9605fc54c7
17 changed files with 27 additions and 27 deletions
|
@ -182,7 +182,7 @@ EditorDirDialog::EditorDirDialog() {
|
|||
|
||||
tree->connect("item_activated", callable_mp(this, &EditorDirDialog::_item_activated));
|
||||
|
||||
makedir = add_button(TTR("Create Folder"), DisplayServer::get_singleton()->get_swap_ok_cancel(), "makedir");
|
||||
makedir = add_button(TTR("Create Folder"), DisplayServer::get_singleton()->get_swap_cancel_ok(), "makedir");
|
||||
makedir->connect("pressed", callable_mp(this, &EditorDirDialog::_make_dir));
|
||||
|
||||
makedialog = memnew(ConfirmationDialog);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue