Merge pull request #77765 from Sauermann/fix-acceptdialog-event-handled

Fix that button presses don't set event as handled in AcceptDialog
This commit is contained in:
Rémi Verschelde 2023-06-05 18:27:33 +02:00 committed by GitHub
commit e7d2e49688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,6 +125,7 @@ void AcceptDialog::_ok_pressed() {
}
ok_pressed();
emit_signal(SNAME("confirmed"));
set_input_as_handled();
}
void AcceptDialog::_cancel_pressed() {
@ -143,6 +144,7 @@ void AcceptDialog::_cancel_pressed() {
if (parent_window) {
//parent_window->grab_focus();
}
set_input_as_handled();
}
String AcceptDialog::get_text() const {