mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JDBC console history horizontal scrollbar is back
This commit is contained in:
@@ -150,6 +150,8 @@ public class LanguageConsoleImpl implements Disposable, TypeSafeDataProvider {
|
||||
myPanel.removeAll();
|
||||
myPanel.add(myHistoryViewer.getComponent(), BorderLayout.NORTH);
|
||||
myPanel.add(myConsoleEditor.getComponent(), BorderLayout.CENTER);
|
||||
|
||||
myHistoryViewer.setHorizontalScrollbarVisible(false);
|
||||
}
|
||||
else {
|
||||
myPanel.removeAll();
|
||||
@@ -164,6 +166,8 @@ public class LanguageConsoleImpl implements Disposable, TypeSafeDataProvider {
|
||||
if (editorWindow != null) {
|
||||
editorWindow.setFilePinned(virtualFile, true);
|
||||
}
|
||||
|
||||
myHistoryViewer.setHorizontalScrollbarVisible(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user