Gui: remove forcefully jumping to Python Console bottom line on single LMB click

This commit is contained in:
0penBrain
2022-10-13 09:26:57 +02:00
committed by Chris Hennes
parent c8e5cebd64
commit b7d0c2a1fe

View File

@@ -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 );
}
}
}
/**