mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
When using no tabs Switcher selects 3rd element instead of 2nd
This commit is contained in:
@@ -425,7 +425,7 @@ public class Switcher extends AnAction implements DumbAware {
|
||||
filesData.add(info);
|
||||
if (!firstRecentMarked) {
|
||||
selectionIndex = filesData.size() - 1;
|
||||
if (selectionIndex != 0 || UISettings.getInstance().EDITOR_TAB_PLACEMENT != UISettings.TABS_NONE) {
|
||||
if (selectionIndex != 0 || UISettings.getInstance().EDITOR_TAB_PLACEMENT != UISettings.TABS_NONE || !isPinnedMode()) {
|
||||
firstRecentMarked = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user