B2017-038 – Needed to disable the Search button for a Transition Search until a format is selected.
This commit is contained in:
parent
44322ba5bf
commit
23ddfe0cbd
@ -160,12 +160,14 @@ namespace Volian.Controls.Library
|
||||
|
||||
void tabSearchTypes_SelectedTabChanged(object sender, TabStripTabChangedEventArgs e)
|
||||
{
|
||||
btnSearch.Enabled = true;
|
||||
if (e.NewTab == tabROSearch)
|
||||
{
|
||||
LoadROComboTree();
|
||||
}
|
||||
else if (e.NewTab == tabTranSearch)
|
||||
{
|
||||
btnSearch.Enabled = (cbxTranCategory.Items.Count > 0); // B2017-038 disable search button if no format selected
|
||||
//enable-disable doc version nodes based on version type if selected
|
||||
if (cbxTranVersion.SelectedIndex > -1)
|
||||
{
|
||||
@ -263,6 +265,7 @@ namespace Volian.Controls.Library
|
||||
cbxTranCategory.SelectedIndex = 0;
|
||||
}
|
||||
#endregion
|
||||
btnSearch.Enabled = true; // B2017-038 enable search button if when a format selected
|
||||
}
|
||||
FormatVersionList myFormatVersionList;
|
||||
private void LoadSearchTextListBox()
|
||||
|
Loading…
x
Reference in New Issue
Block a user