mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Fixed camera menu not updating.
This commit is contained in:
parent
ca39b28a62
commit
392b86bbf1
1 changed files with 1 additions and 1 deletions
|
@ -635,7 +635,7 @@ BOOL CMainFrame::OnShowPopupMenu(CMFCPopupMenu* pMenuPopup)
|
||||||
for (int iItemPop = 0; !bIsCamerawMenu && iItemPop < iItemMax; iItemPop ++)
|
for (int iItemPop = 0; !bIsCamerawMenu && iItemPop < iItemMax; iItemPop ++)
|
||||||
{
|
{
|
||||||
UINT nID = ::GetMenuItemID( hMenuPop, iItemPop);
|
UINT nID = ::GetMenuItemID( hMenuPop, iItemPop);
|
||||||
bIsCamerawMenu = (nID >= ID_CAMERA_FIRST && nID <= ID_CAMERA_LAST);
|
bIsCamerawMenu = (nID == ID_VIEW_CAMERAS_RESET) || (nID >= ID_CAMERA_FIRST && nID <= ID_CAMERA_LAST);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bIsCamerawMenu)
|
if (bIsCamerawMenu)
|
||||||
|
|
Loading…
Reference in a new issue