Skip to content

Commit

Permalink
Set world item in CreateTeam, CreateUesr, CreateMdb function.
Browse files Browse the repository at this point in the history
  • Loading branch information
eryar committed May 27, 2022
1 parent d9b1f3c commit ff67069
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Python/Admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,6 @@ def createTeam(self):
return
# if

PipeCad.SetCurrentItem(self.tmwlItem)
PipeCad.StartTransaction("Create Team")

try:
Expand Down Expand Up @@ -968,7 +967,6 @@ def createUser(self):
aName = self.textName.text
aPassword = self.textPassword.text

PipeCad.SetCurrentItem(self.uswlItem)
PipeCad.StartTransaction("Create User")

try:
Expand Down Expand Up @@ -1579,9 +1577,7 @@ def delDatabase(self):
# delDatabase

def createMdb(self):
aName = self.textName.text

PipeCad.SetCurrentItem(self.mdbwItem)
aName = self.textName.text

PipeCad.StartTransaction("Create MDB")
PipeCad.CreateMdb(aName, self.textDescription.text)
Expand Down

0 comments on commit ff67069

Please sign in to comment.