Kaydet (Commit) 1623b021 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

set focus to Name Edit Line in Define Names dialog

üst 16af1bd2
......@@ -115,10 +115,11 @@ ScNameDefDlg::ScNameDefDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParen
aRange.Format( aAreaStr, ABS_DREF3D, mpDoc,
ScAddress::Details(mpDoc->GetAddressConvention(), 0, 0) );
Selection aCurSel = Selection( 0, SELECTION_MAX );
maEdRange.GrabFocus();
maEdRange.SetText( aAreaStr );
maEdRange.SetSelection( aCurSel );
Selection aCurSel = Selection( 0, SELECTION_MAX );
maEdName.GrabFocus();
maEdName.SetSelection( aCurSel );
}
void ScNameDefDlg::CancelPushed()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment