From b7d0c2a1fe430a3db4853a2f194fa10e6537d2de Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Thu, 13 Oct 2022 09:26:57 +0200 Subject: [PATCH] Gui: remove forcefully jumping to Python Console bottom line on single LMB click --- src/Gui/PythonConsole.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Gui/PythonConsole.cpp b/src/Gui/PythonConsole.cpp index 235f5def7d..f75652d286 100644 --- a/src/Gui/PythonConsole.cpp +++ b/src/Gui/PythonConsole.cpp @@ -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 ); - } - } } /**