Merge remote-tracking branch 'fork/develop' into stable
* fork/develop: setTBR - check for TBR and RUNTIME
This commit is contained in:
commit
b96edc048e
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ public class SetTbrCommand implements Command {
|
||||||
scripter.verifyMenuIsDisplayed(MenuType.MAIN_MENU);
|
scripter.verifyMenuIsDisplayed(MenuType.MAIN_MENU);
|
||||||
// new TBR set; percentage and duration must be displayed ...
|
// new TBR set; percentage and duration must be displayed ...
|
||||||
if (!scripter.currentMenu.attributes().contains(MenuAttribute.TBR) ||
|
if (!scripter.currentMenu.attributes().contains(MenuAttribute.TBR) ||
|
||||||
!scripter.currentMenu.attributes().contains(MenuAttribute.TBR)) {
|
!scripter.currentMenu.attributes().contains(MenuAttribute.RUNTIME)) {
|
||||||
throw new CommandException().message("Setting TBR failed, according to MAIN_MENU no TBR is active");
|
throw new CommandException().message("Setting TBR failed, according to MAIN_MENU no TBR is active");
|
||||||
}
|
}
|
||||||
Double mmTbrPercentage = (Double) scripter.currentMenu.getAttribute(MenuAttribute.TBR);
|
Double mmTbrPercentage = (Double) scripter.currentMenu.getAttribute(MenuAttribute.TBR);
|
||||||
|
|
Loading…
Reference in a new issue