Temporarily comment out the compile error line (and as a temporarily solution, from now on F7-F9 will set the selected tile). In addition, from now on clicking on a newly placed tile will properly pick it up, pressing your mouse button now places your current selection (if any) and fix compile in leveleditormenu.cpp.