diff layer/Layer.cpp @ 1585:073ef72e8e60

Add test for whether presentation name is at default or not
author Chris Cannam
date Fri, 27 Mar 2020 11:04:48 +0000
parents 4f8c72adbf43
children
line wrap: on
line diff
--- a/layer/Layer.cpp	Thu Mar 26 12:10:55 2020 +0000
+++ b/layer/Layer.cpp	Fri Mar 27 11:04:48 2020 +0000
@@ -89,6 +89,12 @@
     m_presentationName = name;
 }
 
+bool
+Layer::isPresentationNameSet() const
+{
+    return (m_presentationName != "");
+}
+
 QString
 Layer::getLayerPresentationName() const
 {