Allow MussaAlignedWindows to create subanalyses
[mussa.git] / qui / MussaWindow.cpp
index cb3c2ce9295bc09daec97e4878e8d4f41c377420..01702309e1938aaa0bedd697ab6ecf55c33640b0 100644 (file)
@@ -608,8 +608,8 @@ void MussaWindow::viewMussaAlignment()
                          QObject::tr("you should probably select some paths "
                                      "first"));
   } else {
-    boost::shared_ptr<MussaAlignedWindow> ma_win( 
-      new MussaAlignedWindow(analysis, selected_paths)
+    MussaAlignedWindowRef ma_win( 
+      new MussaAlignedWindow(analysis, selected_paths, subanalysis_window)
     );
 
     aligned_windows.push_back(ma_win);