diff options
Diffstat (limited to 'plugingui/lineedit.cc')
| -rw-r--r-- | plugingui/lineedit.cc | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/lineedit.cc b/plugingui/lineedit.cc index b99d103..50d4a39 100644 --- a/plugingui/lineedit.cc +++ b/plugingui/lineedit.cc @@ -77,6 +77,11 @@ void LineEdit::buttonEvent(ButtonEvent *buttonEvent)  		return;  	} +	// Ignore everything except left clicks. +	if (buttonEvent->button != MouseButton::left) { +		return; +	} +  	if(buttonEvent->direction == Direction::down)  	{  		for(int i = 0; i < (int)visibleText.length(); ++i)  | 
