[Mod] Removed unnecessary function (#12772)
* Removed unnecessary function the "renamedDocumentObjet" function does nothing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -70,9 +70,7 @@ void SheetObserver::slotDeletedObject(const DocumentObject& Obj)
|
||||
|
||||
void SheetObserver::slotChangedObject(const DocumentObject& Obj, const Property& Prop)
|
||||
{
|
||||
if (&Prop == &Obj.Label) {
|
||||
sheet->renamedDocumentObject(&Obj);
|
||||
}
|
||||
if (&Prop == &Obj.Label) {}
|
||||
else {
|
||||
const char* name = Obj.getPropertyName(&Prop);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user