Update to V2
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
|
||||
import ch.psi.pshell.ui.Plugin;
|
||||
import ch.psi.pshell.ui.Preferences;
|
||||
import ch.psi.pshell.swing.ScriptEditor;
|
||||
import ch.psi.utils.swing.SwingUtils;
|
||||
import ch.psi.pshell.framework.Plugin;
|
||||
import ch.psi.pshell.workbench.Preferences;
|
||||
import ch.psi.pshell.framework.ScriptEditor;
|
||||
import ch.psi.pshell.workbench.View;
|
||||
import ch.psi.pshell.swing.SwingUtils;
|
||||
import java.awt.Font;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.logging.Level;
|
||||
import javax.swing.UIManager;
|
||||
|
||||
@@ -48,7 +50,7 @@ public class PersonalizedTheme implements Plugin {
|
||||
|
||||
|
||||
SwingUtils.invokeDelayed( ()->{
|
||||
getView().restorePreferences();
|
||||
((View)getView()).restorePreferences();
|
||||
}, 250);
|
||||
|
||||
} catch (Exception ex) {
|
||||
|
||||
Reference in New Issue
Block a user