Browse Source

Don't invokeandwait for no reason.

Issue CLIENT-251

Change-Id: Ie58644157e91e0a8244074145aa507818d96dc5e
Reviewed-on: http://gerrit.dmdirc.com/1961
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Chris Smith <chris@dmdirc.com>
tags/0.7rc1
Greg Holmes 13 years ago
parent
commit
7869939cde
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/dmdirc/addons/ui_swing/MainFrame.java

+ 1
- 1
src/com/dmdirc/addons/ui_swing/MainFrame.java View File

228
     /** {@inheritDoc}. */
228
     /** {@inheritDoc}. */
229
     @Override
229
     @Override
230
     public void setTitle(final String title) {
230
     public void setTitle(final String title) {
231
-        if (title == null || getActiveFrame() == null) {
231
+        if (title == null || activeFrame == null) {
232
             super.setTitle(getTitlePrefix());
232
             super.setTitle(getTitlePrefix());
233
         } else {
233
         } else {
234
             super.setTitle(getTitlePrefix() + " - " + title);
234
             super.setTitle(getTitlePrefix() + " - " + title);

Loading…
Cancel
Save