@@ -69,7 +69,8 @@ private void Settings_Shown(object sender, EventArgs e)
69
69
imageFilenameFormatComboBox . SelectedIndex = Settings . Default . ImageFilenameFormat ;
70
70
threadFolderNameFormatComboBox . SelectedIndex = Settings . Default . ThreadFolderNameFormat ;
71
71
72
- chkHTML . Checked = Settings . Default . SaveHTML ;
72
+ chkSaveHtml . Checked = Settings . Default . SaveHtml ;
73
+ chkSaveThumbnails . Checked = Settings . Default . SaveThumbnails ;
73
74
chkSave . Checked = Settings . Default . SaveListsOnClose ;
74
75
chkTray . Checked = Settings . Default . MinimizeToTray ;
75
76
chkWarn . Checked = Settings . Default . WarnOnClose ;
@@ -91,17 +92,15 @@ private void buttonSave_Click(object sender, EventArgs e)
91
92
MessageBox . Show ( reason , "Error" , MessageBoxButtons . OK , MessageBoxIcon . Error ) ;
92
93
return ;
93
94
}
95
+
94
96
if ( timerNumeric . Value < 5 )
95
97
{
96
- MessageBox . Show ( "Timer has to be higher than 5 seconds" ) ;
98
+ MessageBox . Show ( "Timer must be greater than 5 seconds. " ) ;
97
99
return ;
98
100
}
99
- else
100
- {
101
- SaveSettings ( ) ;
102
101
103
- Close ( ) ;
104
- }
102
+ SaveSettings ( ) ;
103
+ Close ( ) ;
105
104
}
106
105
107
106
private void buttonCancel_Click ( object sender , EventArgs e )
@@ -116,7 +115,8 @@ private void SaveSettings()
116
115
Settings . Default . MaximumConcurrentDownloads = ( int ) concurrentDownloadsNumeric . Value ;
117
116
Settings . Default . ImageFilenameFormat = ( byte ) imageFilenameFormatComboBox . SelectedIndex ;
118
117
Settings . Default . ThreadFolderNameFormat = ( byte ) threadFolderNameFormatComboBox . SelectedIndex ;
119
- Settings . Default . SaveHTML = chkHTML . Checked ;
118
+ Settings . Default . SaveHtml = chkSaveHtml . Checked ;
119
+ Settings . Default . SaveThumbnails = chkSaveThumbnails . Checked ;
120
120
Settings . Default . SaveListsOnClose = chkSave . Checked ;
121
121
Settings . Default . MinimizeToTray = chkTray . Checked ;
122
122
Settings . Default . WarnOnClose = chkWarn . Checked ;
@@ -204,5 +204,10 @@ private void renameThreadFolderCheckBox_CheckedChanged(object sender, EventArgs
204
204
threadFolderNameFormatLabel . Enabled = renameThreadFolderCheckBox . Checked ;
205
205
threadFolderNameFormatComboBox . Enabled = renameThreadFolderCheckBox . Checked ;
206
206
}
207
+
208
+ private void chkHTML_CheckedChanged ( object sender , EventArgs e )
209
+ {
210
+ chkSaveThumbnails . Enabled = chkSaveHtml . Checked ;
211
+ }
207
212
}
208
213
}
0 commit comments