[gnome-sound-recorder] misc: fix eslint



commit 52cccb2ececdd536194036d157a8053171d47f1e
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sun Aug 16 18:38:09 2020 +0000

    misc: fix eslint

 src/recordingsListBox.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/recordingsListBox.js b/src/recordingsListBox.js
index 8ba2319..7df6e43 100644
--- a/src/recordingsListBox.js
+++ b/src/recordingsListBox.js
@@ -75,9 +75,10 @@ var RecordingsListBox = new GObject.registerClass({
                 if (row === this.activeRow)
                     this.activeRow = null;
 
-                if (row === this.activePlayingRow)
+                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]