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:
Daniel Ting 2020-07-08 18:02:38 -05:00
parent dcd11faad3
commit 9605fc54c7
17 changed files with 27 additions and 27 deletions

View file

@ -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);