Commit c752f35
committed
Remove the pick vs. pull hack
Previously we would call pullFiles() from the pick() handler if we were not in a
rebase, assuming that the default keybinding for both is "p". This needn't be
the case of course, if the user has remapped one or the other.
The consequence of this was that swapping the keybindings for "pullFiles" and
"pushFiles" would work in all panels except the Commits panel (unless "pick" was
also remapped in the same way).
Fix this by using the new AllowFurtherDispatching mechanism of DisabledReasons
to pass the keybinding on to the next handler.1 parent 3e26be9 commit c752f35
File tree
2 files changed
+4
-13
lines changed- pkg
- gui/controllers
- i18n
2 files changed
+4
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | 147 | | |
156 | 148 | | |
157 | 149 | | |
| |||
623 | 615 | | |
624 | 616 | | |
625 | 617 | | |
626 | | - | |
627 | | - | |
628 | | - | |
| 618 | + | |
629 | 619 | | |
630 | 620 | | |
631 | 621 | | |
| |||
1476 | 1466 | | |
1477 | 1467 | | |
1478 | 1468 | | |
1479 | | - | |
1480 | | - | |
| 1469 | + | |
1481 | 1470 | | |
1482 | 1471 | | |
1483 | 1472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| 372 | + | |
372 | 373 | | |
373 | 374 | | |
374 | 375 | | |
| |||
1459 | 1460 | | |
1460 | 1461 | | |
1461 | 1462 | | |
| 1463 | + | |
1462 | 1464 | | |
1463 | 1465 | | |
1464 | 1466 | | |
| |||
0 commit comments