Kaydet (Commit) 68c59142 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

ManageNames: set correct text for multiselection

üst 6a562108
......@@ -56,5 +56,6 @@
#define STR_ERR_NAME_EXISTS 73
#define STR_ERR_NAME_INVALID 74
#define STR_DEFAULT_INFO 75
#define STR_MULTI_SELECT 76
#define FT_INFO 72
......@@ -88,6 +88,7 @@ private:
const rtl::OUString maErrInvalidNameStr;
const rtl::OUString maErrNameInUse;
const rtl::OUString maStrInfoDefault;
const rtl::OUString maStrMultiSelect;
ScViewData* mpViewData;
ScDocument* mpDoc;
......
......@@ -106,6 +106,7 @@ ScNameDlg::ScNameDlg( SfxBindings* pB, SfxChildWindow* pCW, Window* pParent,
maErrInvalidNameStr( ResId::toString(ScResId(STR_ERR_NAME_INVALID))),
maErrNameInUse ( ResId::toString(ScResId(STR_ERR_NAME_EXISTS))),
maStrInfoDefault ( ResId::toString(ScResId(STR_DEFAULT_INFO))),
maStrMultiSelect ( ResId::toString(ScResId(STR_MULTI_SELECT))),
//
mpViewData ( ptrViewData ),
mpDoc ( ptrViewData->GetDocument() ),
......@@ -444,6 +445,9 @@ void ScNameDlg::SelectionChanged()
if (mpRangeManagerTable->IsMultiSelection())
{
maEdName.SetText(maStrMultiSelect);
maEdAssign.SetText(maStrMultiSelect);
maEdName.Disable();
maEdAssign.Disable();
maLbScope.Disable();
......
......@@ -212,4 +212,8 @@ ModelessDialog RID_SCDLG_NAMES
{
Text [en-US] = "Select cells in the document to update the range.";
};
String STR_MULTI_SELECT
{
Text [en-US] = "(multiple)";
};
};
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