diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-10-12 17:57:51 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-10-12 17:57:51 +0200 |
commit | b1cffdb16ca56905a2115aae715ef772f653992c (patch) | |
tree | 389047f7fb507b1684b619994f837080ec254c3f /src/data/graphelementdata.cpp | |
parent | f6e37a0c273464a2e1abf65cdbd5001952a506ba (diff) |
fixed many glitches in style editorv2.0-rc2
Diffstat (limited to 'src/data/graphelementdata.cpp')
-rw-r--r-- | src/data/graphelementdata.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/data/graphelementdata.cpp b/src/data/graphelementdata.cpp index b478842..810ebd6 100644 --- a/src/data/graphelementdata.cpp +++ b/src/data/graphelementdata.cpp @@ -96,6 +96,11 @@ QString GraphElementData::property(QString key) }
}
+bool GraphElementData::hasProperty(QString key)
+{
+ return (indexOfKey(key) != -1);
+}
+
bool GraphElementData::atom(QString atom)
{
return (indexOfKey(atom) != -1);
|