Skip to content

Commit 6fed5dd

Browse files
fixes #131 - text truncated in tree-view when enabling/disabling "show description"
1 parent 690a75e commit 6fed5dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.java

+2
Original file line numberDiff line numberDiff line change
@@ -1570,6 +1570,8 @@ public Component getTreeCellRendererComponent(JTree tree, Object value, boolean
15701570
showTestDescriptionCheckBoxMenuItem.addActionListener(event -> {
15711571
applyShowTestDescription();
15721572
fixCheckBoxMenuItem(showTestDescriptionCheckBoxMenuItem);
1573+
// force refresh to fix issue #131 (truncated name/description), accepting side-effect, that the selection is lost
1574+
refreshAction();
15731575
});
15741576
testOverviewPopupMenu.add(showTestDescriptionCheckBoxMenuItem);
15751577
showWarningIndicatorCheckBoxMenuItem = new JCheckBoxMenuItem(UtplsqlResources.getString("PREF_SHOW_WARNING_INDICATOR_LABEL").replace("?", ""), true);

0 commit comments

Comments
 (0)