fixed remote detection

This commit is contained in:
Egor.Ushakov
2015-02-12 21:12:23 +03:00
parent f68c06f11c
commit 2a42e953f6
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -53,7 +53,7 @@ public class DefaultDebugEnvironment implements DebugEnvironment {
@Override
public boolean isRemote() {
return environment.getRunProfile() instanceof RemoteState;
return state instanceof RemoteState;
}
@Override