소스 검색

Save the config if the user closes the main frame rather than using /quit

git-svn-id: http://svn.dmdirc.com/trunk@225 00569f92-eb28-0410-84fd-f71c24880f
tags/0.1
Chris Smith 17 년 전
부모
커밋
7492cedbd0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/uk/org/ownage/dmdirc/ui/MainFrame.java

+ 1
- 0
src/uk/org/ownage/dmdirc/ui/MainFrame.java 파일 보기

@@ -175,6 +175,7 @@ public class MainFrame extends javax.swing.JFrame implements WindowListener {
175 175
     
176 176
     public void windowClosing(WindowEvent windowEvent) {
177 177
         ServerManager.getServerManager().closeAll(Config.getOption("general","closemessage"));
178
+        Config.save();
178 179
     }
179 180
     
180 181
     public void windowClosed(WindowEvent windowEvent) {

Loading…
취소
저장