+ more bugfixes to Draft TaskView
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5061 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
parent
56c99b4fcd
commit
8f96179e99
|
@ -131,6 +131,8 @@ class DraftLineEdit(QtGui.QLineEdit):
|
|||
class DraftTaskPanel:
|
||||
def __init__(self,widget):
|
||||
self.form = widget
|
||||
def getStandardButtons(self):
|
||||
return int(QtGui.QDialogButtonBox.Cancel)
|
||||
def accept(self):
|
||||
if FreeCAD.activeDraftCommand:
|
||||
FreeCAD.activeDraftCommand.finish()
|
||||
|
@ -620,8 +622,9 @@ class DraftToolBar:
|
|||
self.cmdlabel.setText(title)
|
||||
|
||||
def selectUi(self):
|
||||
self.labelx.setText(translate("draft", "Pick Object"))
|
||||
self.labelx.show()
|
||||
if not self.taskmode:
|
||||
self.labelx.setText(translate("draft", "Pick Object"))
|
||||
self.labelx.show()
|
||||
|
||||
def editUi(self):
|
||||
self.taskUi(translate("draft", "Edit"))
|
||||
|
|
Loading…
Reference in New Issue
Block a user