Browse Source

Actions can be executed without frame containers again

Fixes issue 4160

Change-Id: If6b8a22932151e69d00fc588f16c2e9eadc65572
Reviewed-on: http://gerrit.dmdirc.com/1256
Reviewed-by: Gregory Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com>
tags/0.6.4rc1
Chris Smith 14 years ago
parent
commit
9acacfc5d0
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/dmdirc/actions/ActionModel.java

+ 1
- 1
src/com/dmdirc/actions/ActionModel.java View File

@@ -147,7 +147,7 @@ public class ActionModel {
147 147
 
148 148
         if (arguments.length > 0 && arguments[0] instanceof Window) {
149 149
             window = (Window) arguments[0];
150
-        } else {
150
+        } else if (cw != null) {
151 151
             window = cw.getFrame();
152 152
         }
153 153
 

Loading…
Cancel
Save