1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-26 02:15:31 +02:00

[fix] System type selection change needs not override last selected system type in dialog settings

This commit is contained in:
Uwe Stieber 2007-03-02 12:38:10 +00:00
parent c3c34b6bf5
commit 1f9672dc38

View file

@ -323,9 +323,6 @@ public class RSEMainNewConnectionWizard extends Wizard implements INewWizard, IS
container.updateTitleBar(); container.updateTitleBar();
container.updateButtons(); container.updateButtons();
} }
// Save the current selection to the dialog settings
saveWidgetValues();
} }
/* (non-Javadoc) /* (non-Javadoc)
@ -373,6 +370,14 @@ public class RSEMainNewConnectionWizard extends Wizard implements INewWizard, IS
return true; return true;
} }
/* (non-Javadoc)
* @see org.eclipse.jface.wizard.Wizard#doNextPressed()
*/
protected boolean doNextPressed() {
saveWidgetValues();
return super.doNextPressed();
}
/** /**
* Save the last selected system type id to the dialog settings. * Save the last selected system type id to the dialog settings.
* Called from <code>onSelectedSystemTypeChanged</code> and <code> * Called from <code>onSelectedSystemTypeChanged</code> and <code>