eclipse plugin: Fix the setupWorkspace, by using...

...the default install instead of the null one
This commit is contained in:
Timotei Dolean 2011-07-15 21:09:38 +00:00
parent b65bdd08dd
commit 7f61ee7a0d

View file

@ -326,12 +326,12 @@ public class WorkspaceUtils
GUIUtils.showInfoMessageBox( Messages.WorkspaceUtils_0 );
}
if (!checkPathsAreSet( null, false ))
if (!checkPathsAreSet( Preferences.getDefaultInstallName( ), false ))
{
PreferenceDialog pref = PreferencesUtil.createPreferenceDialogOn(
WesnothPlugin.getShell(), "org.wesnoth.preferences.InstallsPage", null, null); //$NON-NLS-1$
pref.open();
if ( !checkPathsAreSet ( null, true ) )
if ( !checkPathsAreSet ( Preferences.getDefaultInstallName( ), true ) )
{
GUIUtils.showErrorMessageBox( Messages.WorkspaceUtils_7 );
return;