diff --git a/src/main.js b/src/main.js index 049724d..b045f57 100644 --- a/src/main.js +++ b/src/main.js @@ -255,15 +255,7 @@ function OverWriteToRKG(){ } function Exit(){ - if(isEdited){ - var answer = dialog.showMessageBoxSync(mainWindow,{type:'question', - message:'changes are not saved.\nwould you exit?',title:'', - buttons:['Yes','No']}); - if(answer === 1){ - return; - } - } - app.quit(); + mainWindow.close(); } //タイトルに表示させる文字列の作成