Skip to content
Snippets Groups Projects
Commit e79487b0 authored by Renne Thomas's avatar Renne Thomas
Browse files

Correct percent format in percent assignment

parent 793a2b68
No related branches found
No related tags found
1 merge request!25Correct Issue https://forgemia.inra.fr/pappso/xtpcpp/-/issues/28
......@@ -249,7 +249,8 @@ MsIdentificationTableProxyModel::resteItemDelegates() const
{
qDebug() << (std::int8_t)msIdentificationListColumn::percent_assign;
qDebug() << mapToSource(index(0, i)).column();
if(i == (std::int8_t)msIdentificationListColumn::percent_assign)
if(mapToSource(index(0, i)).column() ==
(std::int8_t)msIdentificationListColumn::percent_assign)
{
m_msid_list_window->ui->tableView->setItemDelegateForColumn(
i, m_percent_delegate);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment