Reset modified flag after document is loaded, touch pad/pocket if its Type has changed
This commit is contained in:
@@ -64,6 +64,7 @@ Pad::Pad()
|
||||
short Pad::mustExecute() const
|
||||
{
|
||||
if (Placement.isTouched() ||
|
||||
Type.isTouched() ||
|
||||
Length.isTouched() ||
|
||||
Length2.isTouched() ||
|
||||
UpToFace.isTouched())
|
||||
|
||||
@@ -66,6 +66,7 @@ Pocket::Pocket()
|
||||
short Pocket::mustExecute() const
|
||||
{
|
||||
if (Placement.isTouched() ||
|
||||
Type.isTouched() ||
|
||||
Length.isTouched() ||
|
||||
UpToFace.isTouched())
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user