Skip to content

Commit

Permalink
Fixed overzealous check in NifModelEval::operator()
Browse files Browse the repository at this point in the history
  • Loading branch information
gavrant authored and fo76utils committed Mar 31, 2024
1 parent 97c230b commit 0f6ebf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/nifmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3085,7 +3085,7 @@ QVariant NifModelEval::operator()( const QVariant & v ) const
{
if ( v.type() == QVariant::String ) {
QString left = v.toString();
const NifItem * itemLeft = model->getItem( item, left, true );
const NifItem * itemLeft = model->getItem( item, left, false );

if ( itemLeft ) {
if ( itemLeft->isCount() )
Expand Down

0 comments on commit 0f6ebf3

Please sign in to comment.