Skip to content

Commit fd68072

Browse files
committed
fix Customize... not appearing
1 parent 93fec0b commit fd68072

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/ui/viewmodels/MemorySearchViewModel.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,7 @@ void MemorySearchViewModel::OnBeforeActiveGameChanged()
186186
void MemorySearchViewModel::OnActiveGameChanged()
187187
{
188188
// rebuild list with custom filters once the game has loaded
189-
auto& pGameContext = ra::services::ServiceLocator::GetMutable<ra::data::context::GameContext>();
190-
if (pGameContext.Assets().FindMemoryRegions() != nullptr)
191-
RebuildPredefinedFilterRanges();
189+
RebuildPredefinedFilterRanges();
192190
}
193191

194192
void MemorySearchViewModel::OnTotalMemorySizeChanged()

0 commit comments

Comments
 (0)