void ResearchWnd::QueueItemClickedSlot(GG::ListBox::iterator it, const GG::Pt& pt, const GG::Flags<GG::ModKey>& modkeys) { if (m_queue_lb->DisplayingValidQueueItems()) { QueueRow* queue_row = boost::polymorphic_downcast<QueueRow*>(*it); if (!queue_row) return; ShowTech(queue_row->tech_name); } }
void ResearchWnd::QueueItemClickedSlot(GG::ListBox::iterator it, const GG::Pt& pt) { QueueRow* queue_row = boost::polymorphic_downcast<QueueRow*>(*it); if (!queue_row) return; ShowTech(queue_row->tech_name); }