diff --git a/CenRa_FLUX/flux_editor.py b/CenRa_FLUX/flux_editor.py index 1e09678..051415b 100644 --- a/CenRa_FLUX/flux_editor.py +++ b/CenRa_FLUX/flux_editor.py @@ -335,7 +335,7 @@ class Flux_Editor(QDialog, EDITOR_CLASS): item = QTableWidgetItem(table_name) self.tableWidget.setItem(i, 3, item) - if dbtype == sigdb: + if True: if (str(value[0]) + '.' + str(value[1])) in GrandUser: pass else: @@ -483,7 +483,7 @@ class Flux_Editor(QDialog, EDITOR_CLASS): for row in range(0, self.tableWidget_2.rowCount()): color_rgba_db = 855030089 color_rgba_droit = 851150528 - print(self.tableWidget_2.item(row, 1).background().color().rgba()) + # print(self.tableWidget_2.item(row, 1).background().color().rgba()) if self.tableWidget_2.item(row, 1).background().color().rgba() == color_rgba_droit: self.QMBquestion = QMessageBox.question(iface.mainWindow(), u"Attention !", "Vous ne disposez pas des droit pour la couche «" + str(self.tableWidget_2.item(row, 1).text()) + ' ' + str(self.tableWidget_2.item(row, 2).text()) + "» !", QMessageBox.StandardButton(0x00004000)) elif self.tableWidget_2.item(row, 1).background().color().rgba() != color_rgba_db: