actually save the settings ~u0;
This commit is contained in:
parent
409f337b86
commit
cc0d452ed1
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,7 @@ namespace Buypeeb {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Window_Shutdown(object sender, DeleteEventArgs args) {
|
private void Window_Shutdown(object sender, DeleteEventArgs args) {
|
||||||
|
SaveSettings();
|
||||||
Application.Quit();
|
Application.Quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -252,6 +253,7 @@ namespace Buypeeb {
|
||||||
|
|
||||||
private void ButtonSaveClicked(object sender, EventArgs a) {
|
private void ButtonSaveClicked(object sender, EventArgs a) {
|
||||||
Console.WriteLine("ButtonSaveClicked");
|
Console.WriteLine("ButtonSaveClicked");
|
||||||
|
this.SaveSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ButtonQuitClicked(object sender, EventArgs a) {
|
private void ButtonQuitClicked(object sender, EventArgs a) {
|
||||||
|
@ -259,6 +261,7 @@ namespace Buypeeb {
|
||||||
ResponseType response = (ResponseType)md.Run();
|
ResponseType response = (ResponseType)md.Run();
|
||||||
md.Dispose();
|
md.Dispose();
|
||||||
if (response == ResponseType.Ok) {
|
if (response == ResponseType.Ok) {
|
||||||
|
this.SaveSettings();
|
||||||
Application.Quit();
|
Application.Quit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue