Kaydet (Commit) 2d67042d authored tarafından Jan Holesovsky's avatar Jan Holesovsky

tdf#95797: Don't jump to the cursor position after auto-save.

Apparently the commit 07c7c88b changed
the condition; I suppose that not deliberately.

Big thanks to raal for the bisect!

Change-Id: I775e133396ceb763e31aca101d365880652e1ac8
üst 9924925d
......@@ -49,9 +49,9 @@ namespace
{
if (!m_pViewShell)
return;
for(SwViewShell& rShell : m_pViewShell->GetRingContainer())
for (SwViewShell& rShell : m_pViewShell->GetRingContainer())
{
if(rShell.IsViewLocked())
if (!rShell.IsViewLocked())
{
m_aViewWasUnLocked.push_back(&rShell);
rShell.LockView(true);
......
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