fixed left/right keys selecting kart/track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -969,6 +969,9 @@ bool RibbonGridWidget::rightPressed()
|
||||
updateLabel();
|
||||
propagateSelection();
|
||||
}
|
||||
|
||||
if(m_rows[0].m_ribbon_type == RIBBON_TOOLBAR) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
// -----------------------------------------------------------------------------
|
||||
@@ -982,6 +985,9 @@ bool RibbonGridWidget::leftPressed()
|
||||
updateLabel();
|
||||
propagateSelection();
|
||||
}
|
||||
|
||||
if(m_rows[0].m_ribbon_type == RIBBON_TOOLBAR) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user