src/editmodes/magicWandMode.cpp

changeset 967
eb586d3e1a6a
parent 966
a834e43a57da
child 968
4b93b7963456
--- a/src/editmodes/magicWandMode.cpp	Sun Aug 30 15:01:10 2015 +0300
+++ b/src/editmodes/magicWandMode.cpp	Sun Aug 30 15:17:28 2015 +0300
@@ -209,7 +209,7 @@
 
 		if (data.keymods & Qt::ShiftModifier)
 			wandtype = MagicWandMode::Additive;
-		elif (data.keymods & Qt::ControlModifier)
+		else if (data.keymods & Qt::ControlModifier)
 			wandtype = MagicWandMode::Subtractive;
 
 		doMagic (renderer()->pickOneObject (data.ev->x(), data.ev->y()), wandtype);

mercurial