]> jfr.im git - irc/kvirc/KVIrc.git/commitdiff
Fix another quirk regarding text deselection when moving the cursor in the input...
authorwodim <redacted>
Sun, 27 Dec 2015 17:48:33 +0000 (18:48 +0100)
committerwodim <redacted>
Sun, 27 Dec 2015 17:50:36 +0000 (18:50 +0100)
src/kvirc/ui/KviInputEditor.cpp

index b0ac13bfa848fb6260b321b799786038ddce0dde..1509dc12984b9356348108ea4619975bfe7fcb69 100644 (file)
@@ -2576,11 +2576,8 @@ void KviInputEditor::toggleMultiLineEditor()
 
 void KviInputEditor::previousChar()
 {
-       if(m_iCursorPosition > 0)
-       {
-               internalCursorLeft(false);
-               repaintWithCursorOn();
-       }
+       internalCursorLeft(false);
+       repaintWithCursorOn();
 }
 
 void KviInputEditor::nextChar()