Sub-analysis failure to draw on init fix (ticket:254)
authorBrandon King <kingb@caltech.edu>
Sat, 3 Mar 2007 01:37:58 +0000 (01:37 +0000)
committerBrandon King <kingb@caltech.edu>
Sat, 3 Mar 2007 01:37:58 +0000 (01:37 +0000)
 * This patch triggers a redraw after the window has been created by setting the dynamic threshold to the minimum.

qui/subanalysis/SubanalysisWindow.cpp

index 4f3b399e178bef47da84e9416fb721f7e9f5bd75..6ed658df7686c53fffea97c7f08c4c5c03cb88be 100644 (file)
@@ -122,6 +122,7 @@ void SubanalysisWindow::run()
     new_m->set_motifs(motifs_copy, color_copy);
     MussaWindow *mw = new MussaWindow(new_m);
     mw->show();
     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) {
     model.clear();
     hide();
   } catch(mussa_error e) {