Little bugs fixes.

--HG--
branch : develop
This commit is contained in:
Susan Spencer 2014-04-04 10:06:33 +02:00
parent 08ea33aff1
commit 939b18fb4e
3 changed files with 11 additions and 3 deletions

View File

@ -19,6 +19,11 @@ syntax: glob
# Ignore this directory. # Ignore this directory.
html/ html/
latex/ latex/
bin/
moc/
obj/
uic/
rcc/
# Ignore file used QtCreator for user profile. # Ignore file used QtCreator for user profile.
*.pro.user *.pro.user
@ -28,3 +33,6 @@ latex/
# Ignore Mercurial .orig files # Ignore Mercurial .orig files
*.orig *.orig
# Ignore Makefile
Makefile

View File

@ -42,8 +42,8 @@ DialogAlongLine::DialogAlongLine(const VContainer *data, QWidget *parent)
flagFormula = false; flagFormula = false;
flagName = false; flagName = false;
CheckState();
InitOkCansel(ui); InitOkCansel(ui);
CheckState();
FillComboBoxTypeLine(ui->comboBoxLineType); FillComboBoxTypeLine(ui->comboBoxLineType);
ui->comboBoxLineType->setCurrentIndex(0); ui->comboBoxLineType->setCurrentIndex(0);

View File

@ -987,14 +987,14 @@ void MainWindow::PatternWasModified()
void MainWindow::ChangedSize(const QString & text) void MainWindow::ChangedSize(const QString & text)
{ {
qint32 size = text.toInt(); qint32 size = text.toInt();
pattern->SetSize(size*10); pattern->SetSize(size);
doc->FullUpdateTree(); doc->FullUpdateTree();
} }
void MainWindow::ChangedHeight(const QString &text) void MainWindow::ChangedHeight(const QString &text)
{ {
qint32 growth = text.toInt(); qint32 growth = text.toInt();
pattern->SetHeight(growth*10); pattern->SetHeight(growth);
doc->FullUpdateTree(); doc->FullUpdateTree();
} }