Make hitting "Enter" resume playback position when asked

This commit is contained in:
Rafał Dzięgiel
2021-02-10 12:31:29 +01:00
parent 57a480389f
commit 821c7f6537

View File

@@ -186,6 +186,8 @@ class ClapperResumeDialog extends Gtk.MessageDialog
}); });
this.resumeInfo = resumeInfo; this.resumeInfo = resumeInfo;
this.set_default_response(Gtk.ResponseType.YES);
this.connect('response', this._onResponse.bind(this)); this.connect('response', this._onResponse.bind(this));
this.show(); this.show();