Author: tgoettlicher Date: Mon Jul 28 11:11:55 2008 New Revision: 49450 URL: http://svn.opensuse.org/viewcvs/yast?rev=49450&view=rev Log: Fixed case sensitve shortcuts for DumbTab (bnc #411877) Modified: trunk/ncurses/package/yast2-ncurses.changes trunk/ncurses/src/NCDumbTab.cc Modified: trunk/ncurses/package/yast2-ncurses.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/package/yast2-ncurses.changes?rev=49450&r1=49449&r2=49450&view=diff ============================================================================== --- trunk/ncurses/package/yast2-ncurses.changes (original) +++ trunk/ncurses/package/yast2-ncurses.changes Mon Jul 28 11:11:55 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Mon Jul 28 10:59:25 CEST 2008 - tgoettlicher@suse.de + +- Fixed case sensitve shortcuts for DumbTab (bnc #411877) + +------------------------------------------------------------------- Wed Jul 16 12:25:11 CEST 2008 - sh@suse.de - Added API for fate #303492: Multi selection for table widget Modified: trunk/ncurses/src/NCDumbTab.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCDumbTab.cc?rev=49450&r1=49449&r2=49450&view=diff ============================================================================== --- trunk/ncurses/src/NCDumbTab.cc (original) +++ trunk/ncurses/src/NCDumbTab.cc Mon Jul 28 11:11:55 2008 @@ -148,7 +148,7 @@ tablabel = NCstring( (*listIt)->label() ); tablabel.stripHotkey(); yuiMilestone() << "HOTkey: " << tablabel.hotkey() << " key: " << key << endl; - if ( tablabel.hotkey() == key ) + if ( tolower ( tablabel.hotkey() ) == tolower ( key ) ) { currentIndex = i; break; @@ -292,9 +292,9 @@ { tablabel = NCstring( (*listIt)->label() ); tablabel.stripHotkey(); - if ( tablabel.hasHotkey() && tablabel.hotkey() == key ) + if ( tablabel.hasHotkey() && tolower ( tablabel.hotkey() ) == tolower ( key ) ) { - hotKey = key; + hotKey = tolower ( key ) ; ret = true; } ++listIt; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org