Browse Source

Merge pull request #1318 in BA/design from ~FANGLEI/design:release/9.0 to release/9.0

* commit '65d206d47e5e5af3761ceb7d2d36f23f61d50497':
  MOBILE-5434 解决 模板-移动端属性-双向自适应设置保存不了的bug
master
superman 7 years ago
parent
commit
cf8b6c3791
  1. 4
      designer/src/com/fr/design/report/mobile/MobileRadioGroupPane.java

4
designer/src/com/fr/design/report/mobile/MobileRadioGroupPane.java

@ -89,7 +89,9 @@ public class MobileRadioGroupPane extends BasicBeanPane<MobileFitAttrState>{
* 选中指定index的按钮
*/
public void selectIndexButton(int index) {
if (index < 0 || index > radioButtons.size() - 1) {
//这里删了默认按钮,所以这边判断的时候不能-1了
// if (index < 0 || index > radioButtons.size() - 1) { fanglei: 这个注释不要删!不然以后可能忘记这个问题
if (index < 0 || index > radioButtons.size()) {
return;
}

Loading…
Cancel
Save