summaryrefslogtreecommitdiffstats
path: root/tests/barstest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/barstest')
-rw-r--r--tests/barstest/chart.cpp2
-rw-r--r--tests/barstest/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/barstest/chart.cpp b/tests/barstest/chart.cpp
index cbae8a6c..7f049645 100644
--- a/tests/barstest/chart.cpp
+++ b/tests/barstest/chart.cpp
@@ -543,7 +543,7 @@ void GraphModifier::removeRows()
// TODO Needs to be changed to account for data window offset once it is implemented.
int row = m_selectedBar.x();
if (row >= 0) {
- int startRow = qMax(row - 2, 0);
+ int startRow = qMax(row - 3, 0);
m_genericData->dataProxy()->removeRows(startRow, 3);
}
}
diff --git a/tests/barstest/main.cpp b/tests/barstest/main.cpp
index f582301b..a0f9d783 100644
--- a/tests/barstest/main.cpp
+++ b/tests/barstest/main.cpp
@@ -97,7 +97,7 @@ int main(int argc, char **argv)
removeRowButton->setEnabled(false);
QPushButton *removeRowsButton = new QPushButton(widget);
- removeRowsButton->setText(QStringLiteral("Remove three rows from selected"));
+ removeRowsButton->setText(QStringLiteral("Remove three rows before selected"));
removeRowsButton->setEnabled(false);
QPushButton *massiveArrayButton = new QPushButton(widget);