diff --git a/ShareX.HistoryLib/Forms/HistoryForm.cs b/ShareX.HistoryLib/Forms/HistoryForm.cs index 31d52a99d..b7b404c58 100644 --- a/ShareX.HistoryLib/Forms/HistoryForm.cs +++ b/ShareX.HistoryLib/Forms/HistoryForm.cs @@ -445,12 +445,17 @@ private void tsbCopyStats_Click(object sender, EventArgs e) private void tsbSettings_Click(object sender, EventArgs e) { + int maxItemCount = Settings.MaxItemCount; + using (HistorySettingsForm form = new HistorySettingsForm(Settings)) { form.ShowDialog(); } - RefreshHistoryItems(); + if (maxItemCount != Settings.MaxItemCount) + { + RefreshHistoryItems(); + } } private void txtFilenameFilter_KeyDown(object sender, KeyEventArgs e)