File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 21
21
import org .jetbrains .annotations .Nullable ;
22
22
import org .jetbrains .plugins .gradle .util .GradleConstants ;
23
23
24
- import java .awt .event .InputEvent ;
24
+ import java .awt .event .ActionEvent ;
25
25
import java .nio .file .Path ;
26
26
27
27
import static com .android .tools .idea .gradle .project .ProjectImportUtil .findGradleTarget ;
@@ -42,8 +42,8 @@ public void actionPerformed(@NotNull AnActionEvent e) {
42
42
}
43
43
final int modifiers = e .getModifiers ();
44
44
// From ReopenProjectAction.
45
- final boolean forceOpenInNewFrame = BitUtil .isSet (modifiers , InputEvent .CTRL_MASK )
46
- || BitUtil .isSet (modifiers , InputEvent .SHIFT_MASK )
45
+ final boolean forceOpenInNewFrame = BitUtil .isSet (modifiers , ActionEvent .CTRL_MASK )
46
+ || BitUtil .isSet (modifiers , ActionEvent .SHIFT_MASK )
47
47
|| e .getPlace () == ActionPlaces .WELCOME_SCREEN ;
48
48
49
49
VirtualFile sourceFile = e .getData (CommonDataKeys .VIRTUAL_FILE );
You can’t perform that action at this time.
0 commit comments