Browse Source

Don't show away label when code is disabled.

Fixes CLIENT-188

Change-Id: I1259d33f79b1f831e09f73dd7323605c678971ad
Reviewed-on: http://gerrit.dmdirc.com/1807
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.6.5
Greg Holmes 13 years ago
parent
commit
b90534112e

+ 3
- 0
src/com/dmdirc/addons/ui_swing/components/frames/InputTextFrame.java View File

@@ -429,6 +429,9 @@ public abstract class InputTextFrame extends TextFrame implements InputWindow,
429 429
             if ("awayindicator".equals(key)) {
430 430
                 useAwayIndicator = getContainer().getConfigManager().
431 431
                         getOptionBool("ui", "awayindicator");
432
+                if (!useAwayIndicator) {
433
+                    awayLabel.setVisible(false);
434
+                }
432 435
             }
433 436
         }
434 437
     }

Loading…
Cancel
Save