diff --git a/src/libs/vtools/dialogs/tools/dialogdetail.cpp b/src/libs/vtools/dialogs/tools/dialogdetail.cpp index 4b774e535..32e9d8ba9 100644 --- a/src/libs/vtools/dialogs/tools/dialogdetail.cpp +++ b/src/libs/vtools/dialogs/tools/dialogdetail.cpp @@ -429,8 +429,8 @@ void DialogDetail::ScrollUp() { if (ui.listWidget->count() > 1) { - QListWidgetItem *item = ui.listWidget->takeItem(ui.listWidget->count()-1); - ui.listWidget->insertItem(0, item); + QListWidgetItem *item = ui.listWidget->takeItem(0); + ui.listWidget->addItem(item); } } @@ -439,8 +439,8 @@ void DialogDetail::ScrollDown() { if (ui.listWidget->count() > 1) { - QListWidgetItem *item = ui.listWidget->takeItem(0); - ui.listWidget->addItem(item); + QListWidgetItem *item = ui.listWidget->takeItem(ui.listWidget->count()-1); + ui.listWidget->insertItem(0, item); } } diff --git a/src/libs/vtools/dialogs/tools/dialogdetail.ui b/src/libs/vtools/dialogs/tools/dialogdetail.ui index e21c0bdf6..1e5536314 100644 --- a/src/libs/vtools/dialogs/tools/dialogdetail.ui +++ b/src/libs/vtools/dialogs/tools/dialogdetail.ui @@ -355,7 +355,7 @@ - Scroll down + Scroll down the list ... @@ -368,7 +368,7 @@ - Scroll up + Scroll up the list ...