mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-27 00:53:55 -07:00
fix bug with release channel setting not being remembered (#5365)
This commit is contained in:
parent
df9c5ae53c
commit
f737d9a794
2 changed files with 12 additions and 5 deletions
|
|
@ -292,7 +292,7 @@ public:
|
|||
}
|
||||
ReleaseChannel *getUpdateReleaseChannel() const
|
||||
{
|
||||
return releaseChannels.at(updateReleaseChannel);
|
||||
return releaseChannels.at(qMax(0, updateReleaseChannel));
|
||||
}
|
||||
QList<ReleaseChannel *> getUpdateReleaseChannels() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue