eclipse plugin: Fix the setupWorkspace, by using...
...the default install instead of the null one
This commit is contained in:
parent
b65bdd08dd
commit
7f61ee7a0d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue