mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-17 03:50:03 +02:00
gui/SearchWindow.cpp: Force scrollbar to the bottom when adding text to m_output.
This commit is contained in:
parent
c206ec764f
commit
bfc40bd3e7
1 changed files with 4 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
*/
|
||||
#include <QDebug>
|
||||
#include <QMessageBox>
|
||||
#include <QScrollBar>
|
||||
#include <QGridLayout>
|
||||
#include <QFuture>
|
||||
#include <QtConcurrent>
|
||||
|
|
@ -175,6 +176,9 @@ void SearchWindow::output(const QString& html)
|
|||
} else {
|
||||
m_output.setHtml(html);
|
||||
}
|
||||
|
||||
// Force scrollbar to the bottom.
|
||||
m_output.verticalScrollBar()->setValue(m_output.verticalScrollBar()->maximum());
|
||||
}
|
||||
|
||||
void SearchWindow::searchStarted()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue