[gnome-sound-recorder/wip/cdavis/gtk4] row: stop forwarding the event back to the entry
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-sound-recorder/wip/cdavis/gtk4] row: stop forwarding the event back to the entry
- Date: Thu, 18 Nov 2021 20:16:54 +0000 (UTC)
commit c60d2c7bf18528055fddbdad98996afafdb8d83f
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Thu Nov 18 21:13:32 2021 +0100
row: stop forwarding the event back to the entry
which causes an infinite recursion
src/row.js | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/row.js b/src/row.js
index 4e3b33c..67a2a6d 100644
--- a/src/row.js
+++ b/src/row.js
@@ -138,8 +138,6 @@ var Row = GObject.registerClass({
if (key === Gdk.KEY_Escape) {
this.editMode = false;
- } else {
- controller.forward(this._entry);
}
});
this._entry.add_controller(this.keyController);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]