Commit 0da6c8d
committed
[FIX] composer: keep edition mode inactive on cursor selection change
Before this commit:
- Changing the composer cursor selection triggered a switch to edition mode,
even when the composer was inactive.
- This caused unwanted activation of editing while simply moving the selection.
After this commit:
- Selection changes no longer modify the edition mode when the composer is
inactive, ensuring the edition state remains stable.
closes #7548
Task: 5354541
X-original-commit: 790c2c5
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>1 parent cb92d82 commit 0da6c8d
File tree
3 files changed
+17
-1
lines changed- src/components/composer/composer
- tests/composer
3 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
361 | 362 | | |
362 | 363 | | |
363 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
364 | 374 | | |
365 | 375 | | |
366 | 376 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
127 | 133 | | |
128 | 134 | | |
129 | 135 | | |
| |||
0 commit comments