Version: 2.5.1 Update

This commit is contained in:
ᴋᴇʏ
2023-10-18 00:43:39 +08:00
committed by GitHub
parent 2e23388925
commit fa9dcfc3d2

View File

@@ -42,7 +42,7 @@ public class MainUI extends JPanel {
private void onlineUpdateActionPerformed(ActionEvent e) {
// 添加提示框防止用户误触导致配置更新
int retCode = JOptionPane.showConfirmDialog(null, "Do you want to update config?", "Info",
JOptionPane.YES_NO_CANCEL_OPTION);
JOptionPane.YES_NO_OPTION);
if (retCode == JOptionPane.YES_OPTION) {
String rulesFilePath = rulesPathTextField.getText();
RuleTool rt = new RuleTool(rulesFilePath);