IDEA-132040 Java Data Type Renderers UI is not redrawn when selecting another Renderer
authorEgor.Ushakov <egor.ushakov@jetbrains.com>
Fri, 31 Oct 2014 17:24:50 +0000 (20:24 +0300)
committerEgor.Ushakov <egor.ushakov@jetbrains.com>
Fri, 31 Oct 2014 17:24:50 +0000 (20:24 +0300)
java/debugger/impl/src/com/intellij/debugger/settings/CompoundRendererConfigurable.java

index a4484cccc1fec121cce31f5b0e9a9ee7ffbcc991..1fcddb68548529a71812855db67566c985c521f8 100644 (file)
@@ -339,8 +339,8 @@ class CompoundRendererConfigurable extends JPanel {
     final NodeRendererSettings rendererSettings = NodeRendererSettings.getInstance();
 
     if (rendererSettings.isBase(labelRenderer)) {
-      myRbDefaultLabel.setSelected(true);
       myLabelEditor.setText(emptyExpressionFragment);
+      myRbDefaultLabel.setSelected(true);
     }
     else {
       myRbExpressionLabel.setSelected(true);
@@ -391,6 +391,7 @@ class CompoundRendererConfigurable extends JPanel {
       for (final Pair<String, TextWithImports> pair : data) {
         myData.add(new Row(pair.getFirst(), pair.getSecond()));
       }
+      fireTableDataChanged();
     }
 
     @Override