[gnome-sound-recorder/bilelmoussaoui/misc: 4/4] recorder: disable edit mode on active row fixes #79
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder/bilelmoussaoui/misc: 4/4] recorder: disable edit mode on active row fixes #79
- Date: Sun, 9 Aug 2020 00:06:32 +0000 (UTC)
commit f59c560cfe796912d5905868bdebf069cc8c5a7b
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Sun Aug 9 02:05:48 2020 +0200
recorder: disable edit mode on active row
fixes #79
src/window.js | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/window.js b/src/window.js
index 17e56266..930f5712 100644
--- a/src/window.js
+++ b/src/window.js
@@ -83,6 +83,10 @@ var Window = GObject.registerClass({
onRecorderStart() {
this.player.stop();
+ const activeRow = this._recordingListBox.activeRow;
+ if (activeRow && activeRow.editMode)
+ activeRow.editMode = false;
+
this._headerRevealer.reveal_child = false;
this._mainStack.visible_child_name = 'recorder';
this._playbackStack.visible_child_name = 'recorder-pause';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]