actually save the settings ~u0;

This commit is contained in:
Lynne Megido 2020-09-04 00:38:41 +10:00
parent 409f337b86
commit cc0d452ed1
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90

View File

@ -120,6 +120,7 @@ namespace Buypeeb {
}
private void Window_Shutdown(object sender, DeleteEventArgs args) {
SaveSettings();
Application.Quit();
}
@ -252,6 +253,7 @@ namespace Buypeeb {
private void ButtonSaveClicked(object sender, EventArgs a) {
Console.WriteLine("ButtonSaveClicked");
this.SaveSettings();
}
private void ButtonQuitClicked(object sender, EventArgs a) {
@ -259,6 +261,7 @@ namespace Buypeeb {
ResponseType response = (ResponseType)md.Run();
md.Dispose();
if (response == ResponseType.Ok) {
this.SaveSettings();
Application.Quit();
}
}