Line height wrong changed on tool switch
When the user switch to another tool from text tool text selection is fired and get wrong in some circunstancies with line height. To fix it we check in the function that change it if the current tool is text tool, es we do in similar function in the file.
Fix: inbox#2508 (moved)