@@ -44,7 +44,7 @@ internal WatForm(WatApplication application) {
4444 trayIcon . Icon = Icon ;
4545 }
4646
47- public void ToggleWindowVisibility ( ) {
47+ private void ToggleWindowVisibility ( ) {
4848 if ( Visible = ! Visible ) {
4949 // Restore previous state.
5050 WindowState = LastWindowState ;
@@ -87,9 +87,14 @@ private void alerts_Click(object sender, EventArgs e) {
8787 }
8888
8989 private async void options_Click ( object sender , EventArgs e ) {
90- using ( var form = new OptionsForm ( Application . Settings , await FissureControl . CreateTestControl ( Application . ImageRepository ) ) ) {
90+ using ( var form = new OptionsForm (
91+ Application . Settings ,
92+ Application . RegistrySettings ,
93+ await FissureControl . CreateTestControl ( Application . ImageRepository )
94+ ) ) {
9195 if ( form . ShowDialog ( this ) == DialogResult . OK ) {
9296 Application . Settings . Save ( ) ;
97+ Application . RegistrySettings . Save ( ) ;
9398 }
9499 }
95100 }
@@ -105,7 +110,7 @@ private void showMenuItem_Click(object sender, EventArgs e) {
105110 }
106111
107112 private void homePageMenuItem_Click ( object sender , EventArgs e ) {
108- System . Diagnostics . Process . Start ( "https://github.com/ScriptFUSION/WAT" ) ;
113+ Process . Start ( "https://github.com/ScriptFUSION/WAT" ) ;
109114 }
110115
111116 private void exitMenuItem_Click ( object sender , EventArgs e ) {
0 commit comments