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;
Tomaž Vajngerl <quikee@gmail.com> 2021-10-21loplugin:flattenNoel Grandin Change-Id: I3b4226a9d089ec9aedab95d96e50a068f57a76c7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123991 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2021-08-18loplugin:constparamsNoel Grandin Change-Id: Ic7410f836e584df45101e78e345c8b3c8d355e09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120680 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2021-08-04tdf#142532 search string at any position not just startTomaž Vajngerl In the first implementation, we check if the search string is at the start of the command string. Mainly this is done to find the right command with a better accuracy. The problem with this is that it discards other hits where the search word occurs at an other position in the command text. This change adds the command where the search string doesn't occur at the start of the command string, but it adds those hits to the end of the list, so the best matches are still added at the beginning. Change-Id: I44a15400c84d45b0c8d3b65ec0e1ffee10686e72 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119962 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2021-07-14tdf#143342: fix crash when using "Search Command" featureJulien Nabet Error: attempt to subscript container with out-of-bounds index -1, but container only holds 0 elements. Objects involved in the operation: sequence "this" @ 0x0x85b1d50 { type = std::__debug::vector<CurrentEntry, std::allocator<CurrentEntry> >; } 4 0x00007fe75d569357 in CommandListBox::RowActivated(weld::TreeView&) (this=0x85b1d30) at sfx2/source/commandpopup/CommandPopup.cxx:202 5 0x00007fe75d569649 in CommandListBox::TreeViewKeyPress(KeyEvent const&) (this=0x85b1d30, rKeyEvent=...) at sfx2/source/commandpopup/CommandPopup.cxx:222 6 0x00007fe75d569170 in CommandListBox::LinkStubTreeViewKeyPress(void*, KeyEvent const&) (instance=0x85b1d30, data=...) at sfx2/source/commandpopup/CommandPopup.cxx:209 Change-Id: I62923ce106da62e3d7d7572536f5e065773683ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118891 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> 2021-06-01tdf#142243 actually call toLower not tuUpper when calling toLowerTomaž Vajngerl But it doesn't have an effect as both uppercase or lowercase work as long as it is used consistently. Change-Id: I898cdc7946732f1a504d902f38ae84565c95a0c7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116430 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2021-05-31tdf#142243 HUD - Use XCharacterClassification to convert caseTomaž Vajngerl This should use international case conversion, not just ascii one that was used before. Change-Id: Id01d3d0d30a846f02f97d081491b0de2c0d6ffef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116419 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2021-05-11tdf#91874 Command Popup - HUD to search and run LO commandsTomaž Vajngerl This adds Command Popup functionality, which is a HUD like pop-up window, which can be used to search and run commands presented in the main menu (but not limited to that only). This is the initial version, which has limitation in searching and running the command (doesn't work for some currently). Change-Id: I92cdd3130b8de42ee0863c9e7154e7c7246d9377 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115380 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>