[Gui] remove unnecessary Boolean comparisons

This commit is contained in:
Uwe
2022-06-19 15:17:01 +02:00
parent 8e253cb4c8
commit c23a30b916
13 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -971,7 +971,7 @@ void PythonConsole::mouseReleaseEvent( QMouseEvent *e )
if (e->button() == Qt::LeftButton)
{
QTextCursor cursor = this->textCursor();
if (cursor.hasSelection() == false
if (!cursor.hasSelection()
&& cursor < this->inputBegin())
{
cursor.movePosition( QTextCursor::End );