diff --git a/js/ui/dialog.js b/js/ui/dialog.js index 3e8bfee7d..9513a8151 100644 --- a/js/ui/dialog.js +++ b/js/ui/dialog.js @@ -133,7 +133,7 @@ class Dialog extends St.Widget { y_expand: true, label, }); - button.connect('clicked', action); + button.connect('clicked', () => action()); buttonInfo['button'] = button;