# HG changeset patch # User Santeri Piippo # Date 1404421491 -10800 # Node ID e3d59b6bf053f5103a26a6138168a4aac1c551db # Parent 748ba8818af8a9f225584c78d36c706b062f4667 - update the object list when the magic wand empties the selection when clicking on background diff -r 748ba8818af8 -r e3d59b6bf053 src/magicWand.cc --- a/src/magicWand.cc Thu Jul 03 21:08:32 2014 +0300 +++ b/src/magicWand.cc Fri Jul 04 00:04:51 2014 +0300 @@ -64,7 +64,10 @@ if (obj == null) { if (type == Set) + { getCurrentDocument()->clearSelection(); + g_win->buildObjList(); + } return; }