mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
[fix] [182382] Missing Titles on New Connection Wizard Pages
This commit is contained in:
parent
dd3cb955c7
commit
5e7a992873
1 changed files with 7 additions and 0 deletions
|
@ -291,6 +291,13 @@ public class RSEMainNewConnectionWizard extends Wizard implements INewWizard, IS
|
||||||
if (getContainer() != null && selectedWizard != null && !getContainer().equals(selectedWizard.getContainer())) {
|
if (getContainer() != null && selectedWizard != null && !getContainer().equals(selectedWizard.getContainer())) {
|
||||||
selectedWizard.setContainer(getContainer());
|
selectedWizard.setContainer(getContainer());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if the wizard defines it's own window title. If not, make sure to pass the
|
||||||
|
// main wizards window title.
|
||||||
|
if (selectedWizard instanceof Wizard
|
||||||
|
&& (selectedWizard.getWindowTitle() == null || "".equals(selectedWizard.getWindowTitle()))) { //$NON-NLS-1$
|
||||||
|
((Wizard)selectedWizard).setWindowTitle(getWindowTitle());
|
||||||
|
}
|
||||||
|
|
||||||
// if the newly selected wizard is the default RSE new connection wizard
|
// if the newly selected wizard is the default RSE new connection wizard
|
||||||
// and the selected context is non-null, set the selected context to the
|
// and the selected context is non-null, set the selected context to the
|
||||||
|
|
Loading…
Add table
Reference in a new issue