Scroll console window for <= lines above the bottom instead of the very bottom.
This commit is contained in:
parent
51817962aa
commit
ddb961fad5
1 changed files with 1 additions and 2 deletions
|
@ -78,8 +78,7 @@ void ConsoleWindow::write(QString data, MessageLevel::Enum mode)
|
|||
int val_bar = bar->value();
|
||||
if(m_scroll_active)
|
||||
{
|
||||
if(m_last_scroll_value > val_bar)
|
||||
m_scroll_active = false;
|
||||
m_scroll_active = (max_bar - val_bar) <= 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue