Subversion Repositories OpenInventory

Rev

Rev 159 | Rev 162 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 159 Rev 160
Line 704... Line 704...
704
}
704
}
705
705
706
void MainWindow::on_sql_mogel_dataChanged ( const QModelIndex & topLeft, const QModelIndex & bottomRight ){ // èçìåíèëè ñâîéñòâà îáúåêòà èëè äîáàâèëè íîâûé îáúåêò
706
void MainWindow::on_sql_mogel_dataChanged ( const QModelIndex & topLeft, const QModelIndex & bottomRight ){ // èçìåíèëè ñâîéñòâà îáúåêòà èëè äîáàâèëè íîâûé îáúåêò
707
int i;
707
int i;
708
i++;
708
i++;
709
if ((topLeft == bottomRight) && (boolFieldsIndexes_global.indexOf(topLeft.column() != -1))) return;
709
if ((topLeft == bottomRight) && (boolFieldsIndexes_global.indexOf(topLeft.column()) != -1))
-
 
710
{
-
 
711
    ui->pushButton_3->setEnabled(false);
-
 
712
    ui->pushButton_4->setEnabled(false);
-
 
713
return;
-
 
714
}
-
 
715
-
 
716
710
ui->pushButton_3->setEnabled(true);
717
ui->pushButton_3->setEnabled(true);
711
ui->pushButton_4->setEnabled(true);
718
ui->pushButton_4->setEnabled(true);
712
719
713
}
720
}
714
721