summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-09-28 13:38:52 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-28 18:12:21 +0200
commit5f32a4a2a18b1726c8bb7a5ce694648b0d8aba31 (patch)
treefe3b7da6ccf392172b0394e439506c5060551623 /sc
parent6b612128794b7dba984c45e8aa7673b5261eb5dd (diff)
double-click on a conditional format inspects / edits it.
Change-Id: Icdfeae938627b63decd26571e86bc1e80e07f6c6
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/condformat/condformatmgr.cxx1
-rw-r--r--sc/source/ui/inc/condformatmgr.hxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/condformat/condformatmgr.cxx b/sc/source/ui/condformat/condformatmgr.cxx
index ebaad9b8ba0a..b40a52319053 100644
--- a/sc/source/ui/condformat/condformatmgr.cxx
+++ b/sc/source/ui/condformat/condformatmgr.cxx
@@ -180,6 +180,7 @@ ScCondFormatManagerDlg::ScCondFormatManagerDlg(Window* pParent, ScDocument* pDoc
maBtnRemove.SetClickHdl(LINK(this, ScCondFormatManagerDlg, RemoveBtnHdl));
maBtnEdit.SetClickHdl(LINK(this, ScCondFormatManagerDlg, EditBtnHdl));
+ maCtrlManager.GetListControl().SetDoubleClickHdl(LINK(this, ScCondFormatManagerDlg, EditBtnHdl));
maBtnAdd.Hide();
}
diff --git a/sc/source/ui/inc/condformatmgr.hxx b/sc/source/ui/inc/condformatmgr.hxx
index 2f75dde4b9d6..3735e639b480 100644
--- a/sc/source/ui/inc/condformatmgr.hxx
+++ b/sc/source/ui/inc/condformatmgr.hxx
@@ -71,6 +71,7 @@ public:
ScConditionalFormat* GetSelection();
void DeleteSelection();
void Update();
+ ScCondFormatManagerWindow &GetListControl() { return maWdManager; }
private:
ScCondFormatManagerWindow maWdManager;