Skip to content

Commit a4a264a

Browse files
committed
fix
1 parent 73b7e82 commit a4a264a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/dom/Object.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ void Object::SetProperty( GSE_CALLABLE, properties_t* const properties, const st
523523
}
524524
}
525525
else {
526-
if ( ( ( it->second == nullptr ) != ( value == nullptr ) ) || *it->second != *value ) {
526+
if ( ( ( it->second == nullptr ) != ( value == nullptr ) ) || ( value && ( *it->second != *value ) ) ) {
527527
it->second = value;
528528
if ( m_is_initialized && properties == &m_properties ) {
529529
OnPropertyChange( GSE_CALL, key, value );

0 commit comments

Comments
 (0)