when I want to get informations from an UIMenuListItem the plugin crashes...
My Code:
job = jobList.Collection[jobList.Index].Value.ToString();
job is a String
jobList is an UIMenuItem with the following params:
jobList = new UIMenuListItem("Job", new List<dynamic> { "Rettungshelfer", "Rettungssanitäter" }, 0);
I know the jobList constructor I use will be removed soon but it should work anyway at the moment.
when I want to get informations from an UIMenuListItem the plugin crashes...
My Code:
job = jobList.Collection[jobList.Index].Value.ToString();
job is a String jobList is an UIMenuItem with the following params:
jobList = new UIMenuListItem("Job", new List<dynamic> { "Rettungshelfer", "Rettungssanitäter" }, 0);
I know the jobList constructor I use will be removed soon but it should work anyway at the moment.
Please send help :)
Greetings
Benjamin