mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Fix inspector using wrong editor for some values
This commit is contained in:
parent
bf54a6a7d3
commit
dd004f0f6e
@ -128,7 +128,6 @@ protected:
|
||||
{
|
||||
itemKey = keyItems[key];
|
||||
table->setItem(table->row(itemKey), 1, itemValue);
|
||||
if(delegate)
|
||||
table->setItemDelegateForRow(table->row(itemKey), delegate);
|
||||
}
|
||||
else
|
||||
@ -139,7 +138,6 @@ protected:
|
||||
table->setRowCount(row + 1);
|
||||
table->setItem(row, 0, itemKey);
|
||||
table->setItem(row, 1, itemValue);
|
||||
if(delegate)
|
||||
table->setItemDelegateForRow(row, delegate);
|
||||
++row;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user