return ShortenCommandLine from ShortenCommandLineModeCombo#getSelectedItem

This commit is contained in:
Daniil Ovchinnikov
2018-02-07 21:05:39 +03:00
parent 3a3a63bcc1
commit 025c7d59db
@@ -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<ShortenCommandLine> {
}
return null;
}
@Nullable
@Override
public ShortenCommandLine getSelectedItem() {
return (ShortenCommandLine)super.getSelectedItem();
}
}