modalDialog: Consistently return correct boolean for open() in ModalDialogs

Previously these calls either ignored the return from super.open() or
implicitely returned false.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2038>
This commit is contained in:
Evan Welsh
2021-10-30 15:08:12 -07:00
committed by Marge Bot
parent 75e57749f0
commit f8f37e0161
3 changed files with 7 additions and 5 deletions

View File

@ -26,9 +26,9 @@ class WelcomeDialog extends ModalDialog.ModalDialog {
open() {
if (!this._tourAppInfo)
return;
return false;
super.open();
return super.open();
}
_buildLayout() {