X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.cpp;h=19f48ff20f60b13ac17b0faa0d9268567e18dff4;hp=b159dc903a2a349052dc24d622d2d6c5dbc652bd;hb=46865cac259e0b6e2ee37f8a1d8703e1898219f4;hpb=d7640a623ac18b88f09eb26a50840a10b0459c2d diff --git a/src/qtui/chatscene.cpp b/src/qtui/chatscene.cpp index b159dc90..19f48ff2 100644 --- a/src/qtui/chatscene.cpp +++ b/src/qtui/chatscene.cpp @@ -438,7 +438,7 @@ void ChatScene::firstHandlePositionChanged(qreal xpos) { if(_firstColHandlePos == xpos) return; - _firstColHandlePos = xpos; + _firstColHandlePos = xpos >= 0 ? xpos : 0; ChatViewSettings viewSettings(this); viewSettings.setValue("FirstColumnHandlePos", _firstColHandlePos); ChatViewSettings defaultSettings;