diff --git a/src/Cursor.cpp b/src/Cursor.cpp index 65d9feea4f..5ecf7158af 100644 --- a/src/Cursor.cpp +++ b/src/Cursor.cpp @@ -968,7 +968,9 @@ void Cursor::setSelection() selection() = true; // A selection with no contents is not a selection // FIXME: doesnt look ok - if (pit() == anchor().pit() && pos() == anchor().pos()) + if (idx() == anchor().idx() && + pit() == anchor().pit() && + pos() == anchor().pos()) selection() = false; }