Skip to content

Commit

Permalink
Use numberColorBackup to initialize QuickViewOptions
Browse files Browse the repository at this point in the history
This initializes the colors to the correct setting even if the warning manager
is currently active on that box
  • Loading branch information
robertlong13 committed Dec 9, 2022
1 parent 3493814 commit 70188c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controls/QuickViewOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ private void QuickViewOptions_Shown(object sender, EventArgs e)
// Initialize custom color textbox and color picker button
TXT_color.Enabled = CHK_customcolor.Checked;
BUT_colorpicker.Enabled = CHK_customcolor.Checked;
TXT_color.Text = _qv.numberColor.Name;
BUT_colorpicker.BackColor = _qv.numberColor;
TXT_color.Text = _qv.numberColorBackup.Name;
BUT_colorpicker.BackColor = _qv.numberColorBackup;
}

private void CMB_Source_SelectedIndexChanged(object sender, EventArgs e)
Expand Down

0 comments on commit 70188c5

Please sign in to comment.