Ejemplo n.º 1
0
    def accept(self):
        if self.origCollection:
            if self.origCollection != self.tmpCollection:
                self.tmpCollection._id = random_id()

        self.collection = self.tmpCollection
        QDialog.accept(self)
Ejemplo n.º 2
0
    def accept(self):
        if self.origCollection:
            if self.origCollection != self.tmpCollection:
                self.tmpCollection._id = random_id()

        self.collection = self.tmpCollection
        QDialog.accept(self)
Ejemplo n.º 3
0
    def accept(self):
        if self.origCollection:
            if self.origCollection != self.tmpCollection:
                self.tmpCollection._id = random_id()

        self.collection = self.tmpCollection
        self.titleText.clear()
        self.descriptionText.clear()
        QDialog.accept(self)
Ejemplo n.º 4
0
    def accept(self):
        if self.origCollection:
            if self.origCollection != self.tmpCollection:
                self.tmpCollection._id = random_id()

        self.collection = self.tmpCollection
        self.titleText.clear()
        self.descriptionText.clear()
        QDialog.accept(self)