- BUGFIX: Fixed a bug in children update when changing files priorities

This commit is contained in:
Christophe Dumez
2007-10-30 21:29:15 +00:00
parent 8ea34135e4
commit 9ca02aad88
3 changed files with 9 additions and 8 deletions

View File

@@ -174,14 +174,14 @@ class PropListDelegate: public QItemDelegate {
}
break;
case 1:
if(old_val != NORMAL){
model->setData(index, QVariant(NORMAL));
if(filteredFilesChanged != 0)
*filteredFilesChanged = true;
} else {
// if(old_val != NORMAL){
// model->setData(index, QVariant(NORMAL));
// if(filteredFilesChanged != 0)
// *filteredFilesChanged = true;
// } else {
model->setData(index, QVariant(HIGH));
model->setData(index, QVariant(NORMAL));
}
// }
break;
case 2:
if(old_val != HIGH){