Skip to content

Commit 322e82b

Browse files
committed
ACI0103861 fixed
1 parent 255b4bd commit 322e82b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Project/Sources/Forms/WP_Palette_Fonts/method.4dm

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@ var $setupOK : Boolean
33
var $typeSelection : Integer
44

55
$paletteID:=1
6-
$typeSelection:=Form:C1466.selection.type
6+
7+
// ACI0103861
8+
Case of
9+
: (Form:C1466.selection=Null:C1517)
10+
: (Value type:C1509(Form:C1466.selection.type)#Is real:K8:4)
11+
Else
12+
$typeSelection:=Form:C1466.selection.type
13+
End case
714

815
Case of
916
: (Form event code:C388=On Load:K2:1)

Project/Sources/Methods/UI_isProtected.4dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If (Not:C34($protected)) // still not protected ?
2121
$protected:=Not:C34(Form:C1466.enterable)
2222
End if
2323

24-
If (Not:C34($protected)) // still not protected ?
24+
If (Not:C34($protected)) && (Form:C1466.selection#Null:C1517) // still not protected ? // ACI0103861
2525

2626
WP Get attributes:C1345(Form:C1466.selection.owner; wk protection enabled:K81:307; $protectedDoc) // 1 protection enabled, 0 protection disabled
2727
WP Get attributes:C1345(Form:C1466.selection; wk protected:K81:306; $protectedSel) // 1 protected, 0 not protected, wk mixed= semi protected

0 commit comments

Comments
 (0)