disabling tab reordering for tabs in multiple rows

This commit is contained in:
Alexey Pegov
2011-12-05 11:53:54 +04:00
parent 39c6d2d999
commit f6bfc50c17
@@ -53,7 +53,12 @@ public class JBEditorTabs extends JBTabsImpl {
super.paintLastGhost(g2d);
}
}
@Override
public boolean isTabDraggingEnabled() {
return super.isTabDraggingEnabled() && isSingleRow();
}
public boolean isGhostsAlwaysVisible() {
return super.isGhostsAlwaysVisible() && !isEditorTabs();
}