Commit ebc7b49
committed
Update Show In MRU when triggered from Open Resource dialog
Using Show In from the Open Resource dialog, either via the dropdown or
the implicit action on a non-file selection, opened the target view but
never updated the most-recently-used order. Both paths call showView and
IShowInTarget.show directly instead of the Navigate > Show In command, so
WorkbenchPage.performedShowIn was never invoked and the MRU list stayed
unchanged.
Promote the used target via performedShowIn after a successful show, so
the Open Resource dialog feeds the same MRU as the regular Show In.
Fixes #40581 parent afada46 commit ebc7b49
1 file changed
Lines changed: 7 additions & 1 deletion
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| |||
353 | 357 | | |
354 | 358 | | |
355 | 359 | | |
| 360 | + | |
| 361 | + | |
356 | 362 | | |
357 | 363 | | |
358 | 364 | | |
| |||
0 commit comments