mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
minor bug fix
This commit is contained in:
parent
f4ca79c73a
commit
f5dc079895
@ -24,7 +24,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: GUI.java,v 1.16 2007/01/12 14:47:29 fros4943 Exp $
|
||||
* $Id: GUI.java,v 1.17 2007/01/16 10:33:25 fros4943 Exp $
|
||||
*/
|
||||
|
||||
package se.sics.cooja;
|
||||
@ -1229,7 +1229,7 @@ public class GUI {
|
||||
((VisPlugin) plugin).dispose();
|
||||
}
|
||||
|
||||
if (askUser && startedPlugins.isEmpty()) {
|
||||
if (getSimulation() != null && askUser && startedPlugins.isEmpty()) {
|
||||
String s1 = "Remove";
|
||||
String s2 = "Cancel";
|
||||
Object[] options = { s1, s2 };
|
||||
|
Loading…
Reference in New Issue
Block a user