Abort OP creation transaction if TC selection is aborted with cancel, #3274
This commit is contained in:
committed by
Yorik van Havre
parent
53dc025ca1
commit
c38eee06e2
@@ -456,7 +456,7 @@ def findToolController(obj, name=None):
|
||||
mylist = [i.Label for i in controllers]
|
||||
form.uiToolController.addItems(mylist)
|
||||
r = form.exec_()
|
||||
if r is False:
|
||||
if not r:
|
||||
tc = None
|
||||
else:
|
||||
tc = [i for i in controllers if i.Label == form.uiToolController.currentText()][0]
|
||||
|
||||
Reference in New Issue
Block a user