mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 18:43:55 -07:00
Fix oracle progressbar; fix #764
This commit is contained in:
parent
06e5327595
commit
514c414cfc
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ bool LoadSetsPage::validatePage()
|
||||||
|
|
||||||
void LoadSetsPage::actDownloadProgressSetsFile(qint64 received, qint64 total)
|
void LoadSetsPage::actDownloadProgressSetsFile(qint64 received, qint64 total)
|
||||||
{
|
{
|
||||||
if(total > 0 && progressBar->maximum()==0)
|
if(total > 0)
|
||||||
{
|
{
|
||||||
progressBar->setMaximum(total);
|
progressBar->setMaximum(total);
|
||||||
progressBar->setValue(received);
|
progressBar->setValue(received);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue