From 6fd94bf97d9f6f6263262d7dd23f8f2c2e33d796 Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Sun, 6 Jan 2019 15:15:50 +0100 Subject: add a blank node when previewing empty graph --- src/data/tikzdocument.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/data/tikzdocument.h') 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; -- cgit v1.2.3