[gnome-sound-recorder] stop playing when the recording is deleted



commit 4771c7298ca575394282b84d4980fdc58e4dd7df
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sun Aug 16 18:26:53 2020 +0000

    stop playing when the recording is deleted

 src/recordingsListBox.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/recordingsListBox.js b/src/recordingsListBox.js
index c21d8d3..8ba2319 100644
--- a/src/recordingsListBox.js
+++ b/src/recordingsListBox.js
@@ -77,6 +77,7 @@ var RecordingsListBox = new GObject.registerClass({
 
                 if (row === this.activePlayingRow)
                     this.activePlayingRow = null;
+                    this._player.stop();
 
                 const index = row.get_index();
                 this.isolateAt(index, false);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]