mirror of
https://github.com/xlmnxp/blue-recorder.git
synced 2024-11-23 17:13:11 +03:00
fix Progress dialog
This commit is contained in:
parent
a6ca6d3831
commit
828074ace0
@ -36,9 +36,6 @@ impl ProgressWidget {
|
|||||||
let progress_precentage: f64 = value as f64 / max as f64;
|
let progress_precentage: f64 = value as f64 / max as f64;
|
||||||
self.progressbar.set_text(Some(&title));
|
self.progressbar.set_text(Some(&title));
|
||||||
self.progressbar.set_fraction(progress_precentage);
|
self.progressbar.set_fraction(progress_precentage);
|
||||||
if value == max {
|
|
||||||
self.progress_dialog.hide();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn show(&self) {
|
pub fn show(&self) {
|
||||||
|
Loading…
Reference in New Issue
Block a user