From 1feabdfe052493197b087ff1c8e3982cbadfc7ce Mon Sep 17 00:00:00 2001 From: dismine Date: Wed, 5 Feb 2014 16:04:26 +0200 Subject: [PATCH] . --HG-- branch : develop --- src/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7253c4b3e..00cda83ae 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -673,7 +673,7 @@ void MainWindow::ToolBarOption() comboBoxGrow->setCurrentIndex(14); ui->toolBarOption->addWidget(comboBoxGrow); connect(comboBoxGrow, static_cast(&QComboBox::currentIndexChanged), - this, &MainWindow::ChangedGrowth); + this, &MainWindow::ChangedHeight); QLabel * labelSize = new QLabel; labelSize->setText(tr(" Size: ")); @@ -1113,7 +1113,7 @@ void MainWindow::ChangedSize(const QString & text) doc->FullUpdateTree(); } -void MainWindow::ChangedGrowth(const QString &text) +void MainWindow::ChangedHeight(const QString &text) { qint32 growth = text.toInt(); pattern->SetGrowth(growth*10);