C2021-021 Change the title of the find/replace dialog base on if we allow Find and Replace or just Find.
This commit is contained in:
parent
69bff04f78
commit
85a971482e
@ -77,7 +77,6 @@ namespace Volian.Controls.Library
|
|||||||
get { return _InApproved; }
|
get { return _InApproved; }
|
||||||
set { _InApproved = value; }
|
set { _InApproved = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public FindReplace()
|
public FindReplace()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@ -443,15 +442,18 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
public void ToggleReplaceTab(E_ViewMode vm)
|
public void ToggleReplaceTab(E_ViewMode vm)
|
||||||
{
|
{
|
||||||
if (vm == E_ViewMode.View)
|
if (vm == E_ViewMode.View)
|
||||||
{
|
{
|
||||||
if (tabReplace.IsSelected)
|
if (tabReplace.IsSelected)
|
||||||
tabFind.PerformClick();
|
tabFind.PerformClick();
|
||||||
tabReplace.Visible = false;
|
tabReplace.Visible = false;
|
||||||
}
|
Text = "Find"; //C2021-021 change the dialog title
|
||||||
else
|
}
|
||||||
tabReplace.Visible = true;
|
else
|
||||||
|
{
|
||||||
|
tabReplace.Visible = true;
|
||||||
|
Text = "Find and Replace";//C2021-021 change the dialog title
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user