修复处于Rom列表UI中时,如果Rom列表为空,呼出侧边栏报错的问题,在这种情况下将无法呼出侧边栏 #89

Merged
sin365 merged 10 commits from Alienjack/AxibugEmuOnline:master into master 2025-01-24 15:43:18 +08:00
Showing only changes of commit dcdfdd343f - Show all commits

View File

@ -59,7 +59,10 @@ namespace AxibugEmuOnline.Client
protected override void OnCmdOptionMenu()
{
{
var thirdMenuGroup = SubMenuItemGroup as ThirdMenuRoot;
if (thirdMenuGroup.itemGroup.DataList == null || thirdMenuGroup.itemGroup.DataList.Count == 0) return;
OverlayManager.PopSideBar(m_options);
}