sc/source/ui/condformat/condformatdlg.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 6db8e752c6075d69d5ff475e15a12317ac9aa4e2
Author: tagezi <lera.goncha...@gmail.com>
Date:   Wed Dec 20 23:40:47 2017 +0200

    tdf#114603 highlights of EditField if a range is not valid
    
    Change-Id: Ie0576175aa51efe9a1dade1581af9898f66e92e5
    Reviewed-on: https://gerrit.libreoffice.org/46866
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/sc/source/ui/condformat/condformatdlg.cxx 
b/sc/source/ui/condformat/condformatdlg.cxx
index 4f9f82568d1a..caf22a5bcdd9 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -552,6 +552,10 @@ ScCondFormatDlg::ScCondFormatDlg(SfxBindings* pB, 
SfxChildWindow* pCW,
     get(mpCondFormList, "list");
     mpCondFormList->init(mpViewData->GetDocument(), this, pFormat, aRange, 
maPos, mpDlgItem->GetDialogType());
 
+    // tdf#114603: enable setting the background to a different color;
+    // relevant for GTK; see also #i75179#
+    mpEdRange->SetForceControlBackground(true);
+
     mpBtnOk->SetClickHdl(LINK(this, ScCondFormatDlg, BtnPressedHdl ) );
     mpBtnAdd->SetClickHdl( LINK( mpCondFormList, ScCondFormatList, AddBtnHdl ) 
);
     mpBtnRemove->SetClickHdl( LINK( mpCondFormList, ScCondFormatList, 
RemoveBtnHdl ) );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to