summaryrefslogtreecommitdiffstats
path: root/application/pages/LogPage.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-04-29 01:28:58 +0200
committerPetr Mrázek <peterix@gmail.com>2015-04-29 01:28:58 +0200
commit75dfbc61fcc451239254049a362b227e72d94d90 (patch)
tree2dccac97c5c7386cf9763f91a18ae6ce779faef0 /application/pages/LogPage.cpp
parentf8650e3965582a57c3d0ccb5f234e6229051b16a (diff)
downloadMultiMC-75dfbc61fcc451239254049a362b227e72d94d90.tar
MultiMC-75dfbc61fcc451239254049a362b227e72d94d90.tar.gz
MultiMC-75dfbc61fcc451239254049a362b227e72d94d90.tar.lz
MultiMC-75dfbc61fcc451239254049a362b227e72d94d90.tar.xz
MultiMC-75dfbc61fcc451239254049a362b227e72d94d90.zip
GH-925 add scroll to bottom button to LogPage
Diffstat (limited to 'application/pages/LogPage.cpp')
-rw-r--r--application/pages/LogPage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/pages/LogPage.cpp b/application/pages/LogPage.cpp
index 8f9edb96..7d2013cc 100644
--- a/application/pages/LogPage.cpp
+++ b/application/pages/LogPage.cpp
@@ -69,6 +69,11 @@ void LogPage::on_btnClear_clicked()
ui->text->clear();
}
+void LogPage::on_btnBottom_clicked()
+{
+ ui->text->verticalScrollBar()->setSliderPosition(ui->text->verticalScrollBar()->maximum());
+}
+
void LogPage::on_trackLogCheckbox_clicked(bool checked)
{
m_write_active = checked;