diff options
Diffstat (limited to 'gui/ConsoleWindow.cpp')
-rw-r--r-- | gui/ConsoleWindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/ConsoleWindow.cpp b/gui/ConsoleWindow.cpp index e640d261..e7ac6008 100644 --- a/gui/ConsoleWindow.cpp +++ b/gui/ConsoleWindow.cpp @@ -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 { |