Skip to content

Commit

Permalink
Merge branch 'master' into handle
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Nov 27, 2024
2 parents 28e2c5f + 68e3488 commit 86314d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VortexEngine/src/Menus/MenuList/PatternSelect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void PatternSelect::onLongClick()
{
bool needsSave = false;
Mode *cur = Modes::curMode();
needsSave = !cur->equals(&m_previewMode);
needsSave = !cur || !cur->equals(&m_previewMode);
if (needsSave) {
// update the current mode with the new pattern
Modes::updateCurMode(&m_previewMode);
Expand Down

0 comments on commit 86314d9

Please sign in to comment.