增加ini 人脸超时限制
This commit is contained in:
@ -68,7 +68,7 @@ def save_user(user_id: int, user_name: str) -> bool:
|
||||
return True
|
||||
|
||||
class UserManageDialog(QDialog):
|
||||
def __init__(self, parent, send_func):
|
||||
def __init__(self, parent=None, send_func=None):
|
||||
super().__init__(parent)
|
||||
self.send_func = send_func
|
||||
uic.loadUi(users_ui_file_path, self)
|
||||
@ -91,7 +91,7 @@ class UserManageDialog(QDialog):
|
||||
def delete_selected(self):
|
||||
row = self.table.currentRow()
|
||||
if row < 0:
|
||||
QMessageBox.warning(self, "提示", "请选择要删除的用户")
|
||||
QMessageBox.warning(self, "提示", "删除选择用户")
|
||||
return
|
||||
uid = self.table.item(row, 0).text()
|
||||
uname = self.table.item(row, 1).text()
|
||||
|
||||
Reference in New Issue
Block a user