changing motifs should make the analysis dirty
[mussa.git] / alg / mussa.cpp
index 7b62dafc174de20a5f6747a6f7f0b470c02200f9..6eb8e7c3f3cb88b2ecc950d368f0af330d5a3c4e 100644 (file)
@@ -751,6 +751,7 @@ void Mussa::add_motif(const Sequence& motif, const Color& color)
 {
   motif_sequences.insert(motif);
   color_mapper->appendInstanceColor("motif", motif.get_sequence(), color);
+  dirty = true;
 }
 
 void Mussa::set_motifs(const vector<Sequence>& motifs,