summaryrefslogtreecommitdiffstats
path: root/editor/import_dock.cpp
diff options
context:
space:
mode:
authorSpartan322 <Megacake1234@gmail.com>2024-10-26 22:41:20 -0400
committerSpartan322 <Megacake1234@gmail.com>2024-10-26 22:41:20 -0400
commit953af98c795066a5a450a3401cc8a4fbc6c12620 (patch)
tree9e100139ffacbcae90fbb5e6b10413e50a8e76b6 /editor/import_dock.cpp
parenta43f7f1c02a887d19694bdebac83af4d32cf3433 (diff)
parent61accf060515416da07d913580419fd8c8490f7b (diff)
downloadredot-engine-953af98c795066a5a450a3401cc8a4fbc6c12620.tar.gz
Merge commit godotengine/godot@61accf060515416da07d913580419fd8c8490f7b
Diffstat (limited to 'editor/import_dock.cpp')
-rw-r--r--editor/import_dock.cpp17
1 files changed, 4 insertions, 13 deletions
diff --git a/editor/import_dock.cpp b/editor/import_dock.cpp
index 6aa865d6db..6ae373d000 100644
--- a/editor/import_dock.cpp
+++ b/editor/import_dock.cpp
@@ -792,23 +792,14 @@ ImportDock::ImportDock() {
import->set_text(TTR("Reimport"));
import->set_disabled(true);
import->connect(SceneStringName(pressed), callable_mp(this, &ImportDock::_reimport_pressed));
- if (!DisplayServer::get_singleton()->get_swap_cancel_ok()) {
- advanced_spacer = hb->add_spacer();
- advanced = memnew(Button);
- advanced->set_text(TTR("Advanced..."));
- hb->add_child(advanced);
- }
+ advanced_spacer = hb->add_spacer();
+ advanced = memnew(Button);
+ advanced->set_text(TTR("Advanced..."));
+ hb->add_child(advanced);
hb->add_spacer();
hb->add_child(import);
hb->add_spacer();
- if (DisplayServer::get_singleton()->get_swap_cancel_ok()) {
- advanced = memnew(Button);
- advanced->set_text(TTR("Advanced..."));
- hb->add_child(advanced);
- advanced_spacer = hb->add_spacer();
- }
-
advanced->hide();
advanced_spacer->hide();
advanced->connect(SceneStringName(pressed), callable_mp(this, &ImportDock::_advanced_options));