auto-expand the first conditional format in the list.

Change-Id: I65280d39b560b4b7eed3e21a6e6c7b02c124f10a
This commit is contained in:
Michael Meeks 2012-09-28 12:43:47 +01:00 committed by Markus Mohrhard
parent bee798cf4a
commit 6b61212879

View file

@ -1005,6 +1005,8 @@ ScCondFormatList::ScCondFormatList(Window* pParent, const ResId& rResId, ScDocum
{
maEntries.push_back(new ScCondFrmtEntry( this, mpDoc, pFormat->GetEntry(nIndex), maPos ));
}
if (nCount > 0)
maEntries.begin()->Select();
}
RecalcAll();