OSDN Git Service

システムコンフィグの型を変更
[coroid/inqubus.git] / frontend / src / yukihane / inqubus / gui / ConfigDialog.java
index 194be31..44827d0 100644 (file)
@@ -1376,9 +1376,9 @@ public class ConfigDialog extends JDialog {
         /*
          * システム
          */
-        fldSystemThreadDownload.setText(p.getSystemDownloadThread());
-        fldSystemWaitDownload.setText(p.getSystemDownloadWait());
-        fldSystemThreadConvert.setText(p.getSystemConvertThread());
+        fldSystemThreadDownload.setText(Integer.toString(p.getSystemDownloadThread()));
+        fldSystemWaitDownload.setText(Integer.toString(p.getSystemDownloadWait()));
+        fldSystemThreadConvert.setText(Integer.toString(p.getSystemConvertThread()));
         fldSystemTempDir.setText(p.getSystemTempDir());
     }
 
@@ -1485,9 +1485,9 @@ public class ConfigDialog extends JDialog {
         /*
          * システム
          */
-        p.setSystemDownloadThread(fldSystemThreadDownload.getText());
-        p.setSystemDownloadWait(fldSystemWaitDownload.getText());
-        p.setSystemConvertThread(fldSystemThreadConvert.getText());
+        p.setSystemDownloadThread(Integer.parseInt(fldSystemThreadDownload.getText()));
+        p.setSystemDownloadWait(Integer.parseInt(fldSystemWaitDownload.getText()));
+        p.setSystemConvertThread(Integer.parseInt(fldSystemThreadConvert.getText()));
         p.setSystemTempDir(fldSystemTempDir.getText());
 
         try {