Fixed QLineEdit crash issue