add amin check to settings
This commit is contained in:
@@ -2207,7 +2207,7 @@ class Ui(Ui_Semesterapparat):
|
|||||||
|
|
||||||
def open_settings(self):
|
def open_settings(self):
|
||||||
dialog = QtWidgets.QDialog()
|
dialog = QtWidgets.QDialog()
|
||||||
settings = settings_ui()
|
settings = settings_ui(self.active_user)
|
||||||
settings.setupUi(dialog)
|
settings.setupUi(dialog)
|
||||||
dialog.exec()
|
dialog.exec()
|
||||||
if dialog.result() == QtWidgets.QDialog.DialogCode.Accepted:
|
if dialog.result() == QtWidgets.QDialog.DialogCode.Accepted:
|
||||||
|
|||||||
Reference in New Issue
Block a user