mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] optimization: no need to set L&F in import helper
This commit is contained in:
@@ -14,7 +14,6 @@ import com.intellij.util.*;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import java.io.*;
|
||||
import java.util.ArrayList;
|
||||
@@ -43,9 +42,6 @@ public class ConfigImportHelper {
|
||||
File newConfigDir = new File(newConfigPath);
|
||||
File oldConfigDir = findOldConfigDir(newConfigDir, settings.getCustomPathsSelector());
|
||||
|
||||
try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); }
|
||||
catch (Throwable ignore) { }
|
||||
|
||||
while (true) {
|
||||
ImportOldConfigsPanel dialog = new ImportOldConfigsPanel(oldConfigDir, settings);
|
||||
dialog.setModalityType(Dialog.ModalityType.TOOLKIT_MODAL);
|
||||
|
||||
Reference in New Issue
Block a user