Kaydet (Commit) d40d756f authored tarafından Caolán McNamara's avatar Caolán McNamara

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
üst 0261be7f
...@@ -1016,11 +1016,13 @@ const Link<SystemWindow&,void>& SystemWindow::GetCloseHdl() const ...@@ -1016,11 +1016,13 @@ const Link<SystemWindow&,void>& SystemWindow::GetCloseHdl() const
void SystemWindow::queue_resize(StateChangedType /*eReason*/) void SystemWindow::queue_resize(StateChangedType /*eReason*/)
{ {
if (hasPendingLayout() || isCalculatingInitialLayoutSize())
return;
if (!isLayoutEnabled()) if (!isLayoutEnabled())
return; return;
if (isCalculatingInitialLayoutSize())
return;
InvalidateSizeCache(); InvalidateSizeCache();
if (hasPendingLayout())
return;
maLayoutIdle.Start(); maLayoutIdle.Start();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment