necrolyte2 / beast-mcmc

Automatically exported from code.google.com/p/beast-mcmc
0 stars 0 forks source link

BEAUti trunk: tree prior is locked at Coalescent Constant #485

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Tree prior cannot be changed. After tree prior is changed to any one, when you 
switch the tab, e.g. prior panel, the tree prior will revert to Coalescent 
Constant always.  

The bug may be in setOptions().

Original issue reported on code.google.com by dong.w.xie@gmail.com on 15 Aug 2011 at 11:17

GoogleCodeExporter commented 9 years ago

Original comment by ramb...@gmail.com on 11 Oct 2011 at 10:31

GoogleCodeExporter commented 9 years ago
        // this makes sure treePriorCombo selects correct prior
        treePriorCombo.setSelectedItem(type);
        if (treePriorCombo.getSelectedItem() == null) {
            treePriorCombo.setSelectedIndex(0);
        }

Original comment by dong.w.xie@gmail.com on 8 Nov 2011 at 11:31