diff --git a/java/execution/impl/src/com/intellij/execution/ui/ShortenCommandLineModeCombo.java b/java/execution/impl/src/com/intellij/execution/ui/ShortenCommandLineModeCombo.java index 99e784abb6a0..918f7d609799 100644 --- a/java/execution/impl/src/com/intellij/execution/ui/ShortenCommandLineModeCombo.java +++ b/java/execution/impl/src/com/intellij/execution/ui/ShortenCommandLineModeCombo.java @@ -1,4 +1,4 @@ -// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.execution.ui; import com.intellij.application.options.ModuleDescriptionsComboBox; @@ -81,4 +81,10 @@ public class ShortenCommandLineModeCombo extends ComboBox { } return null; } + + @Nullable + @Override + public ShortenCommandLine getSelectedItem() { + return (ShortenCommandLine)super.getSelectedItem(); + } }