From 982fd00de13c37090d894524ca32b63f60b8c4e0 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Fri, 15 Sep 2006 18:38:31 +0000 Subject: [PATCH] always save the mussa dirty flag isn't updated in enough situations, like if you change a sequences meta data, the mussa dirty flag isn't updated. Might make sense that once glsequence is a subclass of sequence to put a dirty flag there. --- qui/MussaWindow.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qui/MussaWindow.cpp b/qui/MussaWindow.cpp index 0a071d0..9797a16 100644 --- a/qui/MussaWindow.cpp +++ b/qui/MussaWindow.cpp @@ -338,9 +338,10 @@ void MussaWindow::saveAnalysis() saveAnalysisAs(); } // if we've got a name, has it changed any? - else if (analysis->is_dirty()) { - analysis->save(); - } + // this doesn't work when a sequence changes something (like its + // name) + //else if (analysis->is_dirty()) + analysis->save(); } } -- 2.30.2