From 821c7f6537ffd05d909546ef15e9a22e9d758779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Wed, 10 Feb 2021 12:31:29 +0100 Subject: [PATCH] Make hitting "Enter" resume playback position when asked --- src/dialogs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dialogs.js b/src/dialogs.js index db4db3ba..eac1b09a 100644 --- a/src/dialogs.js +++ b/src/dialogs.js @@ -186,6 +186,8 @@ class ClapperResumeDialog extends Gtk.MessageDialog }); this.resumeInfo = resumeInfo; + + this.set_default_response(Gtk.ResponseType.YES); this.connect('response', this._onResponse.bind(this)); this.show();