Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix always_on_top for sub-dialogs #1167

Merged
5 changes: 5 additions & 0 deletions src/UI/Dialogs/ExportDialog.gd
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ func _ready() -> void:
else:
file_exists_alert_popup.add_button("Cancel Export", false, "cancel")

# TODO: Remove the loop when https://github.com/godotengine/godot/issues/92848 gets fixed.
for dialog_child in path_dialog_popup.get_children(true):
if dialog_child is Window:
dialog_child.always_on_top = path_dialog_popup.always_on_top


func show_tab() -> void:
get_tree().call_group("ExportImageOptions", "hide")
Expand Down