# HG changeset patch # User Santeri Piippo # Date 1398943570 -10800 # Node ID 64ea52bf685c6583cf499657a5ee184e4afafb5d # Parent e4e585f464b388309707eda011d303eedb2d1160 - significantly sped up selecting all objects, it is now an actually fast operation diff -r e4e585f464b3 -r 64ea52bf685c src/actions.cc --- a/src/actions.cc Wed Apr 30 23:44:50 2014 +0300 +++ b/src/actions.cc Thu May 01 14:26:10 2014 +0300 @@ -290,7 +290,7 @@ for (LDObject* obj : getCurrentDocument()->objects()) obj->select(); - updateSelection(); + ui->objectList->selectAll(); } // ============================================================================= diff -r e4e585f464b3 -r 64ea52bf685c src/ldDocument.cc --- a/src/ldDocument.cc Wed Apr 30 23:44:50 2014 +0300 +++ b/src/ldDocument.cc Thu May 01 14:26:10 2014 +0300 @@ -1455,6 +1455,7 @@ assert (obj->document() == this); m_sel << obj; + g_win->R()->compileObject (obj); obj->setSelected (true); } @@ -1467,6 +1468,7 @@ assert (obj->document() == this); m_sel.removeOne (obj); + g_win->R()->compileObject (obj); obj->setSelected (false); }