Update imgeditor.cpp