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:38:01 +0100 |
commit | faa7667d4a249d1a497610a10c64ac54799c08f4 (patch) | |
tree | 3ea2877554dff4695e347405d94d595d6c91a241 /sc/source/ui/view/cellsh1.cxx | |
parent | 3b1da9e650db388baa6d649219e2a0e45b58f062 (diff) |
don't add a new cond format if we just want to edit one, related fdo#58781
Change-Id: I2f48daa9b317c59515366206f9f17c7d219db5d0
Diffstat (limited to 'sc/source/ui/view/cellsh1.cxx')
-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 ec105f351d8f..6d434cec9f3a 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -1825,6 +1825,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 |