Resolves: tdf#95700 index dialog cut off

queue_resize needs to invalidate the size cache even
if there is a pending layout idle awaiting

Change-Id: I6dba3d37fbb33125cc3f5d17aff6d2f7a3388654
This commit is contained in:
Caolán McNamara
2015-12-03 11:36:42 +00:00
parent 0261be7f92
commit d40d756f40

View File

@@ -1016,11 +1016,13 @@ const Link<SystemWindow&,void>& SystemWindow::GetCloseHdl() const
void SystemWindow::queue_resize(StateChangedType /*eReason*/)
{
if (hasPendingLayout() || isCalculatingInitialLayoutSize())
return;
if (!isLayoutEnabled())
return;
if (isCalculatingInitialLayoutSize())
return;
InvalidateSizeCache();
if (hasPendingLayout())
return;
maLayoutIdle.Start();
}