Scroll console window for <= lines above the bottom instead of the very bottom.
This commit is contained in:
parent
51817962aa
commit
ddb961fad5
@ -78,8 +78,7 @@ void ConsoleWindow::write(QString data, MessageLevel::Enum mode)
|
|||||||
int val_bar = bar->value();
|
int val_bar = bar->value();
|
||||||
if(m_scroll_active)
|
if(m_scroll_active)
|
||||||
{
|
{
|
||||||
if(m_last_scroll_value > val_bar)
|
m_scroll_active = (max_bar - val_bar) <= 1;
|
||||||
m_scroll_active = false;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user