Temporary fix: Maybe something wrong with QKeyEvent::text()