summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-01-25 13:34:43 +0100
committerEike Rathke <erack@redhat.com>2017-01-25 19:15:16 +0000
commitf1705a22aa5f26f2590ee937f0e07201f8415696 (patch)
tree52663d36b80ae7db828eaa2a80066daa0341aa5e
parent56b76f27b1f9e8c9af005be0121f39ba4a073d8d (diff)
Resolves: tdf#105351 pass matching index key to conditional format dialog
Change-Id: I9d872140755c4ec0ae67349530b00f339057a356 (cherry picked from commit 0367acdcc59e14b0b067976a08202e8afef0ecf3) Reviewed-on: https://gerrit.libreoffice.org/33528 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r--sc/source/ui/view/cellsh1.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index f661f347a54f..f17de3599f95 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2004,6 +2004,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
{
// found a matching range, edit this conditional format
bCondFormatDlg = true;
+ nIndex = pCondFormat->GetKey();
break;
}
}