Fix a small regression of DebugInfo
Select the entire DebugInfo text, with the command line params inserted.
This is a minor fix for an issue resulting from the last-minute changes in commit 0f8d572
(Add command line argument for plugin, a related notification and an API).
Close #11697
This commit is contained in:
parent
10f48e36ad
commit
b3a9ec5dfe
|
@ -400,7 +400,7 @@ void DebugInfoDlg::refreshDebugInfo()
|
||||||
|
|
||||||
// Set Debug Info text and leave the text in selected state
|
// Set Debug Info text and leave the text in selected state
|
||||||
::SetDlgItemText(_hSelf, IDC_DEBUGINFO_EDIT, debugInfoDisplay.c_str());
|
::SetDlgItemText(_hSelf, IDC_DEBUGINFO_EDIT, debugInfoDisplay.c_str());
|
||||||
::SendDlgItemMessage(_hSelf, IDC_DEBUGINFO_EDIT, EM_SETSEL, 0, _debugInfoStr.length() - 1);
|
::SendDlgItemMessage(_hSelf, IDC_DEBUGINFO_EDIT, EM_SETSEL, 0, debugInfoDisplay.length() - 1);
|
||||||
::SetFocus(::GetDlgItem(_hSelf, IDC_DEBUGINFO_EDIT));
|
::SetFocus(::GetDlgItem(_hSelf, IDC_DEBUGINFO_EDIT));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue