kcApp.cpp: In _setMlistValue() the item index is now decremented for Menu Buttons but not List widgets.
This commit is contained in:
parent
51844a1618
commit
02b7bed788
@ -824,7 +824,7 @@ void kcApp::_setMlistValue( ctl_t* cp, unsigned instVarId, const cmDspValue_t* v
|
|||||||
|
|
||||||
// decr. to account for skipping title row
|
// decr. to account for skipping title row
|
||||||
// (see the complementary incrementn in _ctl_cb())
|
// (see the complementary incrementn in _ctl_cb())
|
||||||
if( idx > 0 )
|
if( idx > 0 && cp->u.mlst.mbtn!=NULL)
|
||||||
--idx;
|
--idx;
|
||||||
|
|
||||||
if( cp->u.mlst.mbtn==NULL)
|
if( cp->u.mlst.mbtn==NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user