Browse Source

Pull request #3750: REPORT-48999 填报-填报属性设置-填报属性快捷设置远程设计修改无效

Merge in DESIGN/design from ~LUCIAN.CHEN/design:final/10.0 to final/10.0

* commit 'f21411bce770bde0111b67dbf343d8edcb16e233':
  REPORT-48999 填报-填报属性设置-填报属性快捷设置远程设计修改无效
final/10.0
Kara 4 years ago
parent
commit
c0a2b1d900
  1. 10
      designer-realize/src/main/java/com/fr/design/report/WriteShortCutsPane.java

10
designer-realize/src/main/java/com/fr/design/report/WriteShortCutsPane.java

@ -8,6 +8,8 @@ import com.fr.design.gui.ilable.UILabel;
import com.fr.design.layout.FRGUIPaneFactory; import com.fr.design.layout.FRGUIPaneFactory;
import com.fr.design.utils.gui.UIComponentUtils; import com.fr.design.utils.gui.UIComponentUtils;
import com.fr.general.ComparatorUtils; import com.fr.general.ComparatorUtils;
import com.fr.transaction.Configurations;
import com.fr.transaction.WorkerAdaptor;
import javax.swing.BorderFactory; import javax.swing.BorderFactory;
import javax.swing.JPanel; import javax.swing.JPanel;
@ -140,7 +142,13 @@ public class WriteShortCutsPane extends JPanel{
nextRowString = temp; nextRowString = temp;
switchColRow(); switchColRow();
ServerPreferenceConfig.getInstance().setWriteShortCuts(ComparatorUtils.equals(nextColString, "Tab")); Configurations.update(new WorkerAdaptor(ServerPreferenceConfig.class) {
@Override
public void run() {
ServerPreferenceConfig.getInstance().setWriteShortCuts(ComparatorUtils.equals(nextColString, "Tab"));
}
});
} }
}; };

Loading…
Cancel
Save