Gui: remove forcefully jumping to Python Console bottom line on single LMB click
This commit is contained in:
@@ -967,16 +967,6 @@ void PythonConsole::mouseReleaseEvent( QMouseEvent *e )
|
||||
return;
|
||||
}
|
||||
TextEdit::mouseReleaseEvent( e );
|
||||
if (e->button() == Qt::LeftButton)
|
||||
{
|
||||
QTextCursor cursor = this->textCursor();
|
||||
if (!cursor.hasSelection()
|
||||
&& cursor < this->inputBegin())
|
||||
{
|
||||
cursor.movePosition( QTextCursor::End );
|
||||
this->setTextCursor( cursor );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user