Misc: Do not set icon via GUI Designer

Since Designer references icon by filename it fails
due to recent update in IDEA icon files

 #KT-24580 Fixed
This commit is contained in:
Alexey Sedunov
2018-05-28 17:20:49 +03:00
parent aed63d49ce
commit 4053278119
2 changed files with 3 additions and 1 deletions
@@ -214,7 +214,6 @@
</constraints>
<properties>
<focusable value="false"/>
<icon value="general/warningDialog.png"/>
<inheritsPopupMenu value="false"/>
<text value=""/>
<visible value="false"/>
@@ -5,6 +5,7 @@
package org.jetbrains.kotlin.idea.compiler.configuration;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.fileChooser.FileChooserDescriptor;
@@ -126,6 +127,8 @@ public class KotlinCompilerConfigurableTab implements SearchableConfigurable, Co
this.k2jvmCompilerArguments = k2jvmCompilerArguments;
this.isProjectSettings = isProjectSettings;
warningLabel.setIcon(AllIcons.General.WarningDialog);
if (isProjectSettings) {
languageVersionComboBox.addActionListener(
new ActionListener() {