mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
The panel now highlights unused title block templates.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1477 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -153,3 +153,12 @@ bool TitleBlockTemplateLocation::isReadOnly() const {
|
||||
if (!collection_) return(false);
|
||||
return(collection_ -> isReadOnly(name_));
|
||||
}
|
||||
|
||||
/**
|
||||
@param location other location that should be compared to this one
|
||||
@return true if locations are equal, false otherwise
|
||||
*/
|
||||
bool TitleBlockTemplateLocation::operator==(const TitleBlockTemplateLocation &location) const {
|
||||
return(location.collection_ == collection_ && location.name_ == name_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user