fix: class is error

This commit is contained in:
wuhai 2024-03-19 19:30:13 +08:00
parent 38452dcdef
commit b1b00b4847

View File

@ -99,8 +99,8 @@ void SAKTableModelToolUi::onBaseToolUiInitialized(xToolsBaseTool *tool, const QS
return;
}
if (!tool->inherits("SAKTableModelTool")) {
qWarning() << "The tool does not inherits SAKTableModelTool!";
if (!tool->inherits("xToolsTableModelTool")) {
qWarning() << "The tool does not inherits xToolsTableModelTool!";
return;
}