mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 20:55:56 -04:00
Fix assert failure when splitting the view when there are tabs with no history or a very short history.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=753519
This commit is contained in:
@@ -281,7 +281,7 @@ void ScreenWindow::notifyOutputChanged()
|
||||
if ( _trackOutput )
|
||||
{
|
||||
_scrollCount -= _screen->scrolledLines();
|
||||
_currentLine = _screen->getHistLines() - (windowLines()-_screen->getLines());
|
||||
_currentLine = qMax(0,_screen->getHistLines() - (windowLines()-_screen->getLines()));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user