equal
deleted
inserted
replaced
1216 { |
1216 { |
1217 QString value = config->bind(i); |
1217 QString value = config->bind(i); |
1218 QModelIndexList mdl = binds->match(binds->index(0, 0), Qt::UserRole + 1, value, 1, Qt::MatchExactly); |
1218 QModelIndexList mdl = binds->match(binds->index(0, 0), Qt::UserRole + 1, value, 1, Qt::MatchExactly); |
1219 if(mdl.size() == 1) binder->setBindIndex(i, mdl[0].row()); |
1219 if(mdl.size() == 1) binder->setBindIndex(i, mdl[0].row()); |
1220 } |
1220 } |
|
1221 binder->checkConflicts(); |
1221 } |
1222 } |
1222 |
1223 |
1223 currentTab = index; |
1224 currentTab = index; |
1224 } |
1225 } |
1225 |
1226 |
1256 { |
1257 { |
1257 int ret = resetBindToDefault(i); |
1258 int ret = resetBindToDefault(i); |
1258 if(ret != -1) |
1259 if(ret != -1) |
1259 bindUpdated(i); |
1260 bindUpdated(i); |
1260 } |
1261 } |
1261 } |
1262 binder->checkConflicts(); |
|
1263 } |