[FIX]: Unable to switch input method in search box.
This commit is contained in:
parent
3fab5d913d
commit
e82e3292c8
|
@ -194,7 +194,8 @@ bool SearchBarHLayout::eventFilter(QObject *watched, QEvent *event) {
|
|||
*/
|
||||
SearchLineEdit::SearchLineEdit() {
|
||||
this->setFocusPolicy(Qt::ClickFocus);
|
||||
this->installEventFilter(this);
|
||||
this->setAttribute(Qt::WA_InputMethodEnabled);
|
||||
// this->installEventFilter(this);
|
||||
// this->setContextMenuPolicy(Qt::NoContextMenu);
|
||||
this->setMaxLength(100);
|
||||
|
||||
|
|
Loading…
Reference in New Issue