Skip to content

Commit

Permalink
Minor display fix
Browse files Browse the repository at this point in the history
Changed "size on disk" widget to display only two decimal places.
  • Loading branch information
marmarta committed Jan 8, 2018
1 parent 351e74f commit 5ecdbae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubesmanager/table_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def update(self):
self.setText("n/a")
else:
self.value = 10
self.value = self.vm.get_disk_utilization()/(1024*1024)
self.value = round(self.vm.get_disk_utilization()/(1024*1024), 2)
self.setText(str(self.value) + " MiB")

def __lt__(self, other):
Expand Down

0 comments on commit 5ecdbae

Please sign in to comment.