mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 11:25:35 +02:00
Bugzilla 251939
This commit is contained in:
parent
93fcf7fbd2
commit
91d27abefb
1 changed files with 1 additions and 2 deletions
|
@ -13,7 +13,6 @@ package org.eclipse.dd.dsf.debug.internal.ui.viewmodel.detailsupport;
|
||||||
|
|
||||||
import org.eclipse.dd.dsf.debug.internal.ui.DsfDebugUIPlugin;
|
import org.eclipse.dd.dsf.debug.internal.ui.DsfDebugUIPlugin;
|
||||||
import org.eclipse.dd.dsf.debug.ui.IDsfDebugUIConstants;
|
import org.eclipse.dd.dsf.debug.ui.IDsfDebugUIConstants;
|
||||||
import org.eclipse.debug.ui.IDebugUIConstants;
|
|
||||||
import org.eclipse.jface.dialogs.IDialogConstants;
|
import org.eclipse.jface.dialogs.IDialogConstants;
|
||||||
import org.eclipse.jface.dialogs.IDialogSettings;
|
import org.eclipse.jface.dialogs.IDialogSettings;
|
||||||
import org.eclipse.jface.dialogs.IInputValidator;
|
import org.eclipse.jface.dialogs.IInputValidator;
|
||||||
|
@ -130,7 +129,7 @@ public class DetailPaneMaxLengthDialog extends TrayDialog {
|
||||||
protected void okPressed() {
|
protected void okPressed() {
|
||||||
String text = getValue();
|
String text = getValue();
|
||||||
try {
|
try {
|
||||||
DsfDebugUIPlugin.getDefault().getPreferenceStore().setValue(IDebugUIConstants.PREF_MAX_DETAIL_LENGTH, Integer.parseInt(text));
|
DsfDebugUIPlugin.getDefault().getPreferenceStore().setValue(IDsfDebugUIConstants.PREF_MAX_DETAIL_LENGTH, Integer.parseInt(text));
|
||||||
}
|
}
|
||||||
catch (NumberFormatException e) {
|
catch (NumberFormatException e) {
|
||||||
DsfDebugUIPlugin.log(e);
|
DsfDebugUIPlugin.log(e);
|
||||||
|
|
Loading…
Add table
Reference in a new issue