Commit 2db463ba authored by Mark Winter's avatar Mark Winter

Set platform specific UI look and feel on initialization, work around for the...

Set platform specific UI look and feel on initialization, work around for the compiled version UI issues.
parent 7452e45d
function SetLook()
lookStr = javax.swing.UIManager.getSystemLookAndFeelClassName();
javax.swing.UIManager.setLookAndFeel(lookStr);
end
......@@ -24,9 +24,13 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function LEVer(varargin)
UI.SetLook();
if (isdeployed())
Load.SetWorkingDir();
end
if ( nargin > 0 )
if ( strcmpi(varargin{1}, '-v') )
UI.about;
......@@ -35,8 +39,8 @@ if ( nargin > 0 )
Helper.SetDebug(~isdeployed());
end
end
if( Load.OpenData() )
Editor.ReplayableEditAction(@Editor.InitHistory);
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment