From: san Date: Sat, 12 May 2012 14:17:08 +0000 (+0000) Subject: SUIT_DataBrowser::setShortcutKey() mistyping corrected X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=25d8b80d79e3f283cbeae98867ee13c2f1e8537f;p=modules%2Fgui.git SUIT_DataBrowser::setShortcutKey() mistyping corrected --- diff --git a/src/SUIT/SUIT_DataBrowser.cxx b/src/SUIT/SUIT_DataBrowser.cxx index f470f6397..4a6161ff1 100644 --- a/src/SUIT/SUIT_DataBrowser.cxx +++ b/src/SUIT/SUIT_DataBrowser.cxx @@ -176,7 +176,7 @@ int SUIT_DataBrowser::shortcutKey(const int id) const */ void SUIT_DataBrowser::setShortcutKey( const int id, const int key ) { - ShortcutMap::iterator it = myShortcutMap.find( key ); + ShortcutMap::iterator it = myShortcutMap.find( id ); if( it != myShortcutMap.end() ) (*it)->setKey(key); }