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.
html/
latex/
bin/
moc/
obj/
uic/
rcc/
# Ignore file used QtCreator for user profile.
*.pro.user
@ -28,3 +33,6 @@ latex/
# Ignore Mercurial .orig files
*.orig
# Ignore Makefile
Makefile

View File

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

View File

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