Skip to content

Commit

Permalink
Cleanup of tree, how are arrows being triggered?
Browse files Browse the repository at this point in the history
  • Loading branch information
mjprilliman committed Aug 22, 2023
1 parent a72b983 commit 29fbd17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/casewin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ BEGIN_EVENT_TABLE( CaseWindow, wxSplitterWindow )
EVT_DATAVIEW_SELECTION_CHANGED(ID_TechTree, CaseWindow::OnTechTree)
EVT_DATAVIEW_ITEM_START_EDITING(ID_TechTree, CaseWindow::OnTreeActivated)
EVT_DATAVIEW_ITEM_ACTIVATED(ID_TechTree, CaseWindow::OnTreeActivated)
EVT_LISTBOX( ID_TechTree, CaseWindow::OnCommand)
//EVT_LISTBOX( ID_TechTree, CaseWindow::OnCommand)
EVT_BUTTON( ID_EXCL_BUTTON, CaseWindow::OnCommand )
EVT_LISTBOX( ID_EXCL_RADIO, CaseWindow::OnCommand)
EVT_CHECKBOX( ID_COLLAPSE, CaseWindow::OnCommand )
Expand Down Expand Up @@ -745,7 +745,6 @@ void CaseWindow::OnTechTree(wxDataViewEvent&)
m_pageFlipper->SetSelection(0);
if (m_navigationMenu->IsContainer(m_navigationMenu->GetCurrentItem()))
{

wxDataViewItemArray dvic;
bool keep_open = false;
m_navigationMenu->GetModel()->GetChildren(m_navigationMenu->GetCurrentItem(), dvic);
Expand Down

0 comments on commit 29fbd17

Please sign in to comment.