Minor display fix
Changed "size on disk" widget to display only two decimal places.
This commit is contained in:
parent
899ca6d394
commit
e19793ea7a
@ -448,7 +448,7 @@ class VmSizeOnDiskItem(QtGui.QTableWidgetItem):
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user