From 19e555267a2170d38e77e563192bfafe20d2f5c5 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Mon, 4 Feb 2013 14:45:56 +0000 Subject: Only change style settings when OK is clicked If the user clicks Cancel, nothing changes. --- tikzit/src/common/NodeStyle.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tikzit/src/common/NodeStyle.h') diff --git a/tikzit/src/common/NodeStyle.h b/tikzit/src/common/NodeStyle.h index 68aafad..034f95d 100644 --- a/tikzit/src/common/NodeStyle.h +++ b/tikzit/src/common/NodeStyle.h @@ -115,6 +115,11 @@ */ + (NodeStyle*)defaultNodeStyleWithName:(NSString *)nm; +/*! + * Make this style the same as the given one + */ +- (void) updateFromStyle:(NodeStyle*)style; + @end // vi:ft=objc:noet:ts=4:sts=4:sw=4 -- cgit v1.2.3