diff options
-rw-r--r-- | src/net/java/sip/communicator/impl/gui/main/MainFrame.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/MainFrame.java b/src/net/java/sip/communicator/impl/gui/main/MainFrame.java index e2a6ae1..58b2e3d 100644 --- a/src/net/java/sip/communicator/impl/gui/main/MainFrame.java +++ b/src/net/java/sip/communicator/impl/gui/main/MainFrame.java @@ -905,7 +905,12 @@ public class MainFrame try { if (accountInfoOpSet != null) - return AccountInfoUtils.getDisplayName(accountInfoOpSet); + { + String displayName + = AccountInfoUtils.getDisplayName(accountInfoOpSet); + if(displayName != null && displayName.length() > 0) + return displayName; + } } catch(Throwable e) { |