properties-window: Fix permission checkboxes needing two clicks with multiple files.
initial_permission_state_consistent() stored the full mode of the first file but compared the other files against it after masking, so with more than one file the initial state never looked consistent. Enabling a permission checkbox then went to the 'mixed' state and restored the original permissions, and only the second click actually applied the change. Fixes #3641
This commit is contained in:
1 parent
9ce068d356
commit
c938d94013
1 file changed
+1
-1
@@ -3428,7 +3428,7 @@ initial_permission_state_consistent (NemoPropertiesWindow *window,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
first_permissions = permissions;
|
first_permissions = permissions & mask;
|
||||||
first = FALSE;
|
first = FALSE;
|
||||||
|
|
||||||
} else if ((permissions & mask) != first_permissions) {
|
} else if ((permissions & mask) != first_permissions) {
|
||||||
|
|||||||
Reference in new issue
Block a user