Skip to content

Commit

Permalink
use text matching to filter related batch colour events
Browse files Browse the repository at this point in the history
  • Loading branch information
vsicurella committed Jul 18, 2024
1 parent b7328aa commit 162f0ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/mapping_editors/BatchToolsColourControls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ void BatchToolsColourControls::handleStatePropertyChange(juce::ValueTree stateIn

void BatchToolsColourControls::layoutWasUpdated()
{
if (!getHasChangesToSave())
auto desc = undoManager->getUndoDescription();
if (!desc.contains("BatchColour"))
*lastSavedLayout = *getMappingData();
// if (!getHasChangesToSave())
// *lastSavedLayout = *getMappingData();

}

0 comments on commit 162f0ac

Please sign in to comment.