summaryrefslogtreecommitdiff
path: root/src/data/tikzdocument.h
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2019-01-06 15:15:50 +0100
committerAleks Kissinger <aleks0@gmail.com>2019-01-06 15:15:50 +0100
commit6fd94bf97d9f6f6263262d7dd23f8f2c2e33d796 (patch)
tree65474183784ecf51863b234c69905da17889f07d /src/data/tikzdocument.h
parent6cc196eaf2e0af11290c275e8d0c012f06c30147 (diff)
add a blank node when previewing empty graph
Diffstat (limited to 'src/data/tikzdocument.h')
-rw-r--r--src/data/tikzdocument.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/data/tikzdocument.h b/src/data/tikzdocument.h
index 3b5990a..ad5499f 100644
--- a/src/data/tikzdocument.h
+++ b/src/data/tikzdocument.h
@@ -54,6 +54,8 @@ public:
QString fileName() const;
+ bool isEmpty();
+
private:
Graph *_graph;
QString _tikz;