Renaming transition sequences enhanced..

This commit is contained in:
Milan Hanajik
2022-09-08 08:16:37 +02:00
parent d2e8f4f0e3
commit 67ba9986f2
3 changed files with 30 additions and 5 deletions
+3 -1
View File
@@ -237,7 +237,9 @@ namespace TBF.UI.Bench.Transitions
TabNameDlg dlg = new TabNameDlg(true);
dlg.TabNameLabel = Strings.New_transition_name;
dlg.TabName = (tabPage.Tag is TransitionSequence) ? (tabPage.Tag as TransitionSequence).Name
: (tabPage.Tag is VirtualBenchSequence) ? (tabPage.Tag as VirtualBenchSequence).Name
: string.Empty;
if (dlg.ShowDialog() == DialogResult.OK)
{
bool nameUsed = false;