diff options
Diffstat (limited to 'src/windows/leash/LeashView.cpp')
-rw-r--r-- | src/windows/leash/LeashView.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/windows/leash/LeashView.cpp b/src/windows/leash/LeashView.cpp index 163f4632e2..bc5d48ebc9 100644 --- a/src/windows/leash/LeashView.cpp +++ b/src/windows/leash/LeashView.cpp @@ -1269,7 +1269,7 @@ VOID CLeashView::OnUpdateDisplay() m_tvinsert.item.iSelectedImage = NONE_PARENT_NODE; m_hPrincipal = m_pTree->InsertItem(&m_tvinsert); - if (CMainFrame::m_wndToolBar) +/* if (CMainFrame::m_wndToolBar) { CToolBarCtrl *_toolBar = NULL; CToolBarCtrl& toolBar = CMainFrame::m_wndToolBar.GetToolBarCtrl(); @@ -1284,12 +1284,13 @@ VOID CLeashView::OnUpdateDisplay() MB_OK|MB_ICONSTOP); } } +*/ } else { // We have some tickets m_pTree->SetItemText(m_hPrincipal, sPrincipal); - +/* if (CMainFrame::m_wndToolBar) { CToolBarCtrl *_toolBar = NULL; @@ -1304,6 +1305,7 @@ VOID CLeashView::OnUpdateDisplay() AfxMessageBox("There is a problem with the Leash Toolbar!", MB_OK|MB_ICONSTOP); } } +*/ } ReleaseMutex(ticketinfo.lockObj); } |