mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 527055: Save terminal settings even when there is only one terminal type
Change-Id: I411bb5c815590c7f9929694e0256596b601606fa
This commit is contained in:
parent
f294b6583b
commit
0aecc58552
2 changed files with 5 additions and 3 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.tm.terminal.view.ui;singleton:=true
|
||||
Bundle-Version: 4.6.0.qualifier
|
||||
Bundle-Version: 4.6.100.qualifier
|
||||
Bundle-Activator: org.eclipse.tm.terminal.view.ui.activator.UIPlugin
|
||||
Bundle-Vendor: %providerName
|
||||
Require-Bundle: org.eclipse.core.expressions;bundle-version="3.4.400",
|
||||
|
|
|
@ -540,8 +540,10 @@ public class LaunchTerminalSettingsDialog extends TrayDialog {
|
|||
*/
|
||||
protected void saveWidgetValues() {
|
||||
IDialogSettings settings = getDialogSettings();
|
||||
if (settings != null && terminals != null) {
|
||||
settings.put("terminalLabel", terminals.getText()); //$NON-NLS-1$
|
||||
if (settings != null) {
|
||||
if (terminals != null) {
|
||||
settings.put("terminalLabel", terminals.getText()); //$NON-NLS-1$
|
||||
}
|
||||
this.settings.saveWidgetValues(settings, null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue