mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Fixed bug when saving settings.
This commit is contained in:
parent
569e08e91c
commit
6fbf191d68
1 changed files with 2 additions and 2 deletions
|
|
@ -696,7 +696,7 @@ private async void MainWindow_Activated(object sender, EventArgs e)
|
|||
customRTB.ForeColor = ps.RichForeColor;
|
||||
customRTB.BackColor = ps.RichBackColor;
|
||||
|
||||
if (ps.ShowToolbar == false)
|
||||
if (ps.ShowToolbar == false && panel2.Visible == true)
|
||||
{
|
||||
panel2.Visible = false;
|
||||
int h = customRTB.Height;
|
||||
|
|
@ -705,7 +705,7 @@ private async void MainWindow_Activated(object sender, EventArgs e)
|
|||
customRTB.Location = new Point(0, 25);
|
||||
}
|
||||
|
||||
if (ps.ShowToolbar == true)
|
||||
if (ps.ShowToolbar == true && panel2.Visible == false)
|
||||
{
|
||||
panel2.Visible = true;
|
||||
int h = customRTB.Height;
|
||||
|
|
|
|||
Loading…
Reference in a new issue