Incoming Transitions: Refresh search results after Convert Transitions to Text
This commit is contained in:
parent
df9ab4fd10
commit
8ddf84e0bc
@ -2717,6 +2717,9 @@ namespace Volian.Controls.Library
|
||||
List<int> itmsEditable = TranCvtCheckPermission(true); // Get list based on permissions
|
||||
if (itmsEditable == null || itmsEditable.Count == 0) return;
|
||||
TranCvtToTxt(itmsEditable);
|
||||
fromTranCvtBtn = true;
|
||||
UpdateSearchIncTransResults(); // B2021-009: Research after convert transitions to text
|
||||
fromTranCvtBtn = false;
|
||||
}
|
||||
// C22020-033: Use IncTransCvtAllToTextPerm to see if user has at least edit permissions to 1 in list. This
|
||||
// is used to see if Convert All button is enabled.
|
||||
@ -2781,7 +2784,7 @@ namespace Volian.Controls.Library
|
||||
btnCopySearchResults.Enabled = false;
|
||||
btnSaveSearchResults.Enabled = false;
|
||||
cmbResultsStyle.Enabled = false;
|
||||
FlexibleMessageBox.Show("No Matches Found.", "Search");
|
||||
if (!fromTranCvtBtn) FlexibleMessageBox.Show("No Matches Found.", "Search"); // B2021-009: Research after convert transitions to text
|
||||
}
|
||||
btnTranCvtAllToTxt.Enabled = IncTransCvtAllToTextPerm();
|
||||
btnTranCvtSelToTxt.Enabled = false;
|
||||
@ -2842,6 +2845,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
return itmsEditable;
|
||||
}
|
||||
private bool fromTranCvtBtn = false;
|
||||
// C2020-033: convert selected transitions to text
|
||||
private void btnTranCvtSelToTxt_Click(object sender, EventArgs e)
|
||||
{
|
||||
@ -2850,6 +2854,9 @@ namespace Volian.Controls.Library
|
||||
List<int> itmsEditable = TranCvtCheckPermission(false);
|
||||
if (itmsEditable == null || itmsEditable.Count == 0) return;
|
||||
TranCvtToTxt(itmsEditable);
|
||||
fromTranCvtBtn = true;
|
||||
UpdateSearchIncTransResults(); // B2021-009: Research after convert transitions to text
|
||||
fromTranCvtBtn = false;
|
||||
}
|
||||
// C2020-033: For items in list, do the actual conversion of the Incoming Transition to text
|
||||
private void TranCvtToTxt(List<int> itmsEditable)
|
||||
|
Loading…
x
Reference in New Issue
Block a user