Commit 819b69f
committed
Editor: Fix infinite appending of docks without slots to config
Docks without default slots (index -1, config key "dock_0") were being
infinitely appended to the editor layout config because this special
slot was never cleared before saving, unlike regular dock slots.
This adds code to explicitly clear the dock_0 config key before saving
closed docks, preventing infinite appending.1 parent 7ed0b61 commit 819b69f
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
603 | 610 | | |
604 | 611 | | |
605 | 612 | | |
| |||
0 commit comments