diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-03 21:02:50 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-03 21:06:51 +0100 |
commit | 4dead7b1e54d3a0441a1eb6a7c067e3c8a9d9f5b (patch) | |
tree | 186827d6abe0f35ebe3797e458d0f681845e13f6 /sc/source/ui | |
parent | 2b9ba386d897e1ee53589b5a4a22918f6b5fd5e7 (diff) |
hide the manage cond format dialog when opening the cond format dlg
Change-Id: Iee1e8344610e42f22c405c698fdfd82d59ca836e
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/condformat/condformatmgr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/condformat/condformatmgr.cxx b/sc/source/ui/condformat/condformatmgr.cxx index 295a83e75eab..5a5ea1b56dc9 100644 --- a/sc/source/ui/condformat/condformatmgr.cxx +++ b/sc/source/ui/condformat/condformatmgr.cxx @@ -226,7 +226,7 @@ IMPL_LINK_NOARG(ScCondFormatManagerDlg, EditBtnHdl) pScMod->SetRefDialog( nId, true ); boost::scoped_ptr<ScCondFormatDlg> pDlg(new ScCondFormatDlg(this, mpDoc, pFormat, pFormat->GetRange(), pFormat->GetRange().GetTopLeftCorner(), condformat::dialog::NONE)); - Disable(); + Show(false, 0); if(pDlg->Execute() == RET_OK) { sal_Int32 nKey = pFormat->GetKey(); @@ -241,7 +241,7 @@ IMPL_LINK_NOARG(ScCondFormatManagerDlg, EditBtnHdl) maCtrlManager.Update(); mbModified = true; } - Enable(); + Show(true, 0); pScMod->SetRefDialog( nId, false ); @@ -272,7 +272,7 @@ IMPL_LINK_NOARG(ScCondFormatManagerDlg, AddBtnHdl) pScMod->SetRefDialog( nId, true ); boost::scoped_ptr<ScCondFormatDlg> pDlg(new ScCondFormatDlg(this, mpDoc, NULL, ScRangeList(), maPos, condformat::dialog::CONDITION)); - Disable(); + Show(false, 0); if(pDlg->Execute() == RET_OK) { ScConditionalFormat* pNewFormat = pDlg->GetConditionalFormat(); @@ -285,7 +285,7 @@ IMPL_LINK_NOARG(ScCondFormatManagerDlg, AddBtnHdl) mbModified = true; } - Enable(); + Show(true, 0); pScMod->SetRefDialog( nId, false ); return 0; |