Browser: Set DownloadWidget progress bar minimum value correctly
This fixes a typo from #19462.
This commit is contained in:
parent
1b55ff6f4c
commit
1737a0d1d9
Notes:
sideshowbarker
2024-07-17 05:21:12 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/1737a0d1d9 Pull-request: https://github.com/SerenityOS/serenity/pull/19486
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ DownloadWidget::DownloadWidget(const URL& url)
|
|||
|
||||
m_progressbar = add<GUI::Progressbar>();
|
||||
m_progressbar->set_fixed_height(20);
|
||||
m_progressbar->set_max(0);
|
||||
m_progressbar->set_min(0);
|
||||
m_progressbar->set_max(100);
|
||||
|
||||
m_progress_label = add<GUI::Label>();
|
||||
|
|
Loading…
Add table
Reference in a new issue