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:
-1
@@ -214,7 +214,6 @@
|
||||
</constraints>
|
||||
<properties>
|
||||
<focusable value="false"/>
|
||||
<icon value="general/warningDialog.png"/>
|
||||
<inheritsPopupMenu value="false"/>
|
||||
<text value=""/>
|
||||
<visible value="false"/>
|
||||
|
||||
+3
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user