mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
Issue #592 - Support for Sticky Switches in Companion
This commit is contained in:
parent
873d2c4377
commit
c473b8e105
28 changed files with 767 additions and 627 deletions
|
@ -513,7 +513,7 @@ void CustomFunctionsPanel::populateFuncCB(QComboBox *b, unsigned int value)
|
|||
{
|
||||
b->clear();
|
||||
for (unsigned int i=0; i<FuncCount; i++) {
|
||||
b->addItem(getFuncName(i));
|
||||
b->addItem(FuncSwData(AssignFunc(i)).funcToString());
|
||||
if (!GetEepromInterface()->getCapability(HasVolume)) {
|
||||
if (i==FuncVolume || i==FuncBackgroundMusic || i==FuncBackgroundMusicPause) {
|
||||
QModelIndex index = b->model()->index(i, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue