+ fixes #0001848: Radius of circle given in degrees

This commit is contained in:
wmayer
2014-12-16 12:10:15 +01:00
parent 171a8cf85a
commit f37a752975
2 changed files with 2 additions and 1 deletions

View File

@@ -837,7 +837,7 @@ class DraftToolBar:
self.hideXYZ()
self.labelRadius.setText(translate("draft", "Radius"))
self.labelRadius.show()
self.radiusValue.setText(self.AFORMAT % 0)
self.radiusValue.setText(self.FORMAT % 0)
self.radiusValue.show()
def textUi(self):

View File

@@ -1127,6 +1127,7 @@ class Arc(Creator):
self.drawArc()
else:
self.ui.labelRadius.setText("Start angle")
self.ui.radiusValue.setText(self.ui.AFORMAT % 0)
self.linetrack.p1(self.center)
self.linetrack.on()
self.step = 2