mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge branch 'pr978'
This commit is contained in:
commit
10a2213e66
|
@ -65,7 +65,7 @@ void ChatAreaWidget::mouseReleaseEvent(QMouseEvent * event)
|
|||
QTextCursor cursor(document());
|
||||
cursor.setPosition(pos);
|
||||
|
||||
if(!cursor.atEnd())
|
||||
if (!cursor.atEnd())
|
||||
{
|
||||
cursor.setPosition(pos+1);
|
||||
|
||||
|
|
|
@ -255,7 +255,8 @@ void GenericChatForm::onEmoteButtonClicked()
|
|||
|
||||
void GenericChatForm::onChatWidgetClicked()
|
||||
{
|
||||
msgEdit->setFocus();
|
||||
if (!chatWidget->textCursor().hasSelection())
|
||||
msgEdit->setFocus();
|
||||
}
|
||||
|
||||
void GenericChatForm::onEmoteInsertRequested(QString str)
|
||||
|
|
Loading…
Reference in New Issue
Block a user