From ec4fa1bac2573799c4dbcf8b6bcb9014368325ca Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 5 Aug 2016 14:33:20 +0000 Subject: [PATCH] CtrlLib: ArrayCtrl: Fixed issue with popup info git-svn-id: svn://ultimatepp.org/upp/trunk@10142 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CtrlLib/ArrayCtrl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uppsrc/CtrlLib/ArrayCtrl.cpp b/uppsrc/CtrlLib/ArrayCtrl.cpp index 3e9d1437d..e8130ab00 100644 --- a/uppsrc/CtrlLib/ArrayCtrl.cpp +++ b/uppsrc/CtrlLib/ArrayCtrl.cpp @@ -1691,7 +1691,8 @@ void ArrayCtrl::SyncInfo() Value q; const Display& d = GetCellInfo(c.y, c.x, HasFocusDeep(), q, fg, bg, st); int cw = r.Width(); - SpanWideCell(d, q, cm, cw, r, c.y, c.x); + if(spanwidecells) + SpanWideCell(d, q, cm, cw, r, c.y, c.x); if(r.Contains(p)) { info.Set(this, r, q, &d, fg, bg, st, cm); return;