From: Brandon King Date: Sat, 3 Mar 2007 01:37:58 +0000 (+0000) Subject: Sub-analysis failure to draw on init fix (ticket:254) X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=079a158e1d058a5a6b1ceac667edef56d3dcad7f Sub-analysis failure to draw on init fix (ticket:254) * This patch triggers a redraw after the window has been created by setting the dynamic threshold to the minimum. --- diff --git a/qui/subanalysis/SubanalysisWindow.cpp b/qui/subanalysis/SubanalysisWindow.cpp index 4f3b399..6ed658d 100644 --- a/qui/subanalysis/SubanalysisWindow.cpp +++ b/qui/subanalysis/SubanalysisWindow.cpp @@ -122,6 +122,7 @@ void SubanalysisWindow::run() new_m->set_motifs(motifs_copy, color_copy); MussaWindow *mw = new MussaWindow(new_m); mw->show(); + mw->setSoftThreshold(threshold->value()); model.clear(); hide(); } catch(mussa_error e) {