forked from qt-creator/qt-creator
ResourceNode: Remove unnecessary update() call
Change-Id: Iea72f2cb02b6b983cb90d4dd09c5e0fc1f8c0c3f Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -219,8 +219,6 @@ bool ResourceTopLevelNode::addPrefix(const QString &prefix, const QString &lang)
|
||||
file.save();
|
||||
Core::DocumentManager::unexpectFileChange(path());
|
||||
|
||||
update();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -236,8 +234,6 @@ bool ResourceTopLevelNode::removePrefix(const QString &prefix, const QString &la
|
||||
Core::DocumentManager::expectFileChange(path());
|
||||
file.save();
|
||||
Core::DocumentManager::unexpectFileChange(path());
|
||||
|
||||
update();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user