Aller-5-0-1-418.patch
allereditorv1.cpp 2012-04-04 08:40:43 +0000 | ||
---|---|---|
1542 | 1542 | |
1543 | 1543 |
void AllerEditorV1::on_PSEtePhraseModeManuel_textChanged() |
1544 | 1544 |
{ |
1545 |
qDebug()<<"<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<textChanged"; |
|
1546 |
ui->PSEsbNumeroPhrase->blockSignals(true); |
|
1545 | 1547 |
ui->PSEsbNumeroPhrase->setValue(-1); |
1548 |
ui->PSEsbNumeroPhrase->blockSignals(false); |
|
1549 | ||
1546 | 1550 |
} |
1547 | 1551 | |
1548 | 1552 |
void AllerEditorV1::on_PSEsbNumeroPhrase_valueChanged(int arg1) |
... | ... | |
1684 | 1688 |
case 7: |
1685 | 1689 |
if (!m_selectedObjectsList.isEmpty()) |
1686 | 1690 |
{ |
1691 |
ui->PSEtePhraseModeManuel->blockSignals(true); |
|
1687 | 1692 |
ui->PSEsbNumeroPhrase->setValue(m_selectedObjectsList.last().toInt()+1); |
1688 | 1693 |
ui->PSEtePhraseModeManuel->setText(m_displayedObjectsMap.value(m_selectedObjectsList.last().toInt())->toPlainText()); |
1694 | ||
1695 |
ui->PSEtePhraseModeManuel->blockSignals(false); |
|
1689 | 1696 |
} |
1690 | 1697 |
ui->PSEsbNumeroPhrase->setMaximum(m_displayedObjectsMap.count()); |
1691 | 1698 |
break; |