OSDN Git Service

設定のsave, load処理
[coroid/inqubus.git] / frontend / src / yukihane / inqubus / gui / ConfigDialog.java
index 71bcbbe..cbb2235 100644 (file)
@@ -964,6 +964,7 @@ public class ConfigDialog extends JDialog {
         fldCommentSizeManual.setText(p.getCommentMinSizeManual());
         cbCommentDisplaySizeDefault.setSelected(p.getCommentDisplaySizeDefault());
         fldCommentDisplaySizeManual.setText(p.getCommentDisplaySizeManual());
         fldCommentSizeManual.setText(p.getCommentMinSizeManual());
         cbCommentDisplaySizeDefault.setSelected(p.getCommentDisplaySizeDefault());
         fldCommentDisplaySizeManual.setText(p.getCommentDisplaySizeManual());
+        cbCommentOwnerOnly.setSelected(p.getCommentOwnerOnly());
 
         /**
          * コメント - 高度な設定
 
         /**
          * コメント - 高度な設定
@@ -1087,6 +1088,7 @@ public class ConfigDialog extends JDialog {
         p.setCommentMinSizeManual(fldCommentSizeManual.getText());
         p.setCommentDisplaySizeDefault(cbCommentDisplaySizeDefault.isSelected());
         p.setCommentDisplaySizeManual(fldCommentDisplaySizeManual.getText());
         p.setCommentMinSizeManual(fldCommentSizeManual.getText());
         p.setCommentDisplaySizeDefault(cbCommentDisplaySizeDefault.isSelected());
         p.setCommentDisplaySizeManual(fldCommentDisplaySizeManual.getText());
+        p.setCommentOwnerOnly(cbCommentOwnerOnly.isSelected());
 
         /**
          * コメント - 高度な設定
 
         /**
          * コメント - 高度な設定