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
a347d45eaa
commit
e64d0a0415
3 changed files with 6 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
<feature
|
||||
id="org.eclipse.tm.terminal.view.feature"
|
||||
label="%featureName"
|
||||
version="4.6.0.qualifier"
|
||||
version="4.6.1.qualifier"
|
||||
provider-name="%providerName"
|
||||
plugin="org.eclipse.tm.terminal.view.ui"
|
||||
license-feature="org.eclipse.license"
|
||||
|
|
|
@ -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.1.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) {
|
||||
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