display ICARUS command editor upon 'FileProperties' command

This commit is contained in:
Michael Becker 2020-06-17 18:35:20 -04:00
parent 10d91c07b5
commit 250891d517
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7

View File

@ -587,5 +587,15 @@ namespace UniversalEditor.Plugins.RavenSoftware.UserInterface.Editors.Icarus
tv.SelectedRows[0].RowColumns[0].Value = GetCommandText(tv.SelectedRows[0].GetExtraData<IcarusCommand>("cmd"));
}
}
protected override bool ShowDocumentPropertiesDialogInternal()
{
if (tv.Focused && tv.SelectedRows.Count > 0)
{
tv_RowActivated(this, new ListViewRowActivatedEventArgs(tv.SelectedRows[0]));
return true;
}
return base.ShowDocumentPropertiesDialogInternal();
}
}
}