Use "window.close" action instead of "close-request"

This commit is contained in:
Rafał Dzięgiel
2021-04-28 12:15:20 +02:00
parent 4133557086
commit 71db78a0f6
2 changed files with 2 additions and 4 deletions

View File

@@ -34,9 +34,7 @@ class ClapperPlaylistWidget extends Gtk.ListBox
const itemIndex = item.get_index();
if(itemIndex === this.activeRowId) {
const root = this.get_root();
root.emit('close-request');
this.activate_action('window.close', null);
return;
}