Subversion Repositories svn1

Rev

Rev 184 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 184 Rev 185
Line 20... Line 20...
20
 
20
 
21
void TwinSpinBox::adjustL(void)
21
void TwinSpinBox::adjustL(void)
22
{
22
{
23
    if ( ! populating )
23
    if ( ! populating )
24
    {
24
    {
25
        qDebug("Changed");
-
 
26
        emit changed();
25
        emit changed();
27
 
26
 
28
        populating = true;
27
        populating = true;
29
        if (ui->spinBoxL->value() > ui->spinBoxU->value())
28
        if (ui->spinBoxL->value() > ui->spinBoxU->value())
30
        {
29
        {
Line 42... Line 41...
42
        emit changed();
41
        emit changed();
43
 
42
 
44
        populating = true;
43
        populating = true;
45
        if (ui->spinBoxU->value() < ui->spinBoxL->value())
44
        if (ui->spinBoxU->value() < ui->spinBoxL->value())
46
        {
45
        {
47
            qDebug("SetL");
-
 
48
            ui->spinBoxL->setValue(ui->spinBoxU->value());
46
            ui->spinBoxL->setValue(ui->spinBoxU->value());
49
        }
47
        }
50
        populating = false;
48
        populating = false;
51
    }
49
    }
52
}
50
}