TUD-STKS / TargetOptimizer

TargetOptimizer
GNU General Public License v3.0
1 stars 0 forks source link

Program crashes when TextGrid reader dialog fails #16

Closed paul-krug closed 4 years ago

paul-krug commented 4 years ago

When opening a TextGrid with the new TG class, a dialog "Pick boundary tier" opens. If you close this dialog (x) without choosing the tier, the TargetOptimizer crashes.

Simon-Stone commented 4 years ago

Fixed in master: If the user clicks OK in the dialog, the selected tier is used for the boundaries. If the user clicks CANCEL, the default tier (currently a tier named 'Position') is chosen.

If the chosen TextGrid does not contain a tier of that name (user-selected or default name), a message box is displayed.