diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-31 04:25:14 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-31 04:37:15 +0100 |
commit | 2eebc768c4d48f384f14142516df7d8b3a751097 (patch) | |
tree | a4d053e612b7a11eb0bdb0905e5d0ebcb51d31bd | |
parent | 11a9ce33f74e28ecfd3db358a1e77856b36cfc38 (diff) |
don't add a new cond format if we just want to edit one, related fdo#58781
Change-Id: I2f48daa9b317c59515366206f9f17c7d219db5d0
-rw-r--r-- | sc/source/ui/view/cellsh1.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 91054f121d7b..68be16dd360d 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -1827,6 +1827,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) const ScConditionalFormat* pCondFormat = pList->GetFormat(rCondFormats[0]); assert(pCondFormat); const ScRangeList& rCondFormatRange = pCondFormat->GetRange(); + nKey = pCondFormat->GetKey(); pCondFormatDlg.reset( new ScCondFormatDlg( pTabViewShell->GetDialogParent(), pDoc, pCondFormat, rCondFormatRange, aPos, condformat::dialog::NONE ) ); } else |