IntelliJ Themes: avoid double setting LaFs

This commit is contained in:
Karl Tauber
2019-11-26 00:41:47 +01:00
parent c513c052fc
commit c8225171a3

View File

@@ -177,6 +177,9 @@ public class IJThemesPanel
// change look and feel
if( themeInfo.lafClassName != null ) {
if( themeInfo.lafClassName.equals( UIManager.getLookAndFeel().getClass().getName() ) )
return;
try {
UIManager.setLookAndFeel( themeInfo.lafClassName );
} catch( Exception ex ) {