Bug #1587: Fix issue only resetting index of progress combo if it has items
FEA: ItEr77S04BugFixing
This commit is contained in:
parent
2c51ef98a1
commit
9937f00e76
1 changed files with 3 additions and 1 deletions
|
|
@ -643,7 +643,9 @@ public class Planner extends HtmlMacroComponent {
|
|||
diagramGraph.removePostGraphChangeListener(showAdvanceOnChange);
|
||||
showAdvancesButton.setSclass("planner-command");
|
||||
showAdvancesButton.setTooltiptext(_("Show progress"));
|
||||
progressTypesCombo.setSelectedIndex(0);
|
||||
if (progressTypesCombo.getItemCount() > 0) {
|
||||
progressTypesCombo.setSelectedIndex(0);
|
||||
}
|
||||
} else {
|
||||
context.showAdvances();
|
||||
diagramGraph.addPostGraphChangeListener(showAdvanceOnChange);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue