Skip to content

Commit

Permalink
Merge branch 'master' into chromadeck
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Nov 27, 2024
2 parents 3a06d25 + 68e3488 commit 47294b1
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::onLongClickM()
{
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 47294b1

Please sign in to comment.