Fix case where the ganged channel is channel 0
This commit is contained in:
parent
81e7e1a5b3
commit
af9263b041
3 changed files with 10 additions and 20 deletions
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
#ifndef CHANNELWIDGET_H
|
||||
#define CHANNELWIDGET_H
|
||||
|
||||
|
|
@ -58,8 +56,8 @@ private:
|
|||
QVBoxLayout labellayout;
|
||||
|
||||
// Track the channel this one is ganged to (if any)
|
||||
uint16_t gangedDeviceSerial = 0;
|
||||
uint16_t gangedChannelNumber = 0;
|
||||
int gangedDeviceSerial = -1;
|
||||
int gangedChannelNumber = -1;
|
||||
};
|
||||
|
||||
#endif // CHANNELWIDGET_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue