Commit 07754f0
committed
Correctly sync state of wx toolbar buttons when triggered by keyboard.
Previously, pressing "p" would unclick the "Pan" button if it was
already pressed, but not press it if it wasn't (even though it did
correctly start panning). Fix that.1 parent 5173cda commit 07754f0
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1179 | 1179 | | |
1180 | 1180 | | |
1181 | 1181 | | |
1182 | | - | |
1183 | | - | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
1184 | 1185 | | |
1185 | 1186 | | |
1186 | | - | |
1187 | | - | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
1188 | 1190 | | |
1189 | 1191 | | |
1190 | 1192 | | |
| |||
0 commit comments