mirror of
https://github.com/greenshot/greenshot.git
synced 2025-03-12 05:25:25 -07:00
BUG-2172: Fixing an issue when the DrawableContainerList's parent is removed. [skip ci]
This commit is contained in:
parent
b8009fe256
commit
2d6b428ee4
@ -104,8 +104,8 @@ namespace Greenshot.Drawing {
|
||||
return null;
|
||||
}
|
||||
set {
|
||||
ParentID = value.ID;
|
||||
foreach(var drawableContainer in this) {
|
||||
ParentID = value?.ID ?? Guid.NewGuid();
|
||||
foreach (var drawableContainer in this) {
|
||||
var dc = (DrawableContainer) drawableContainer;
|
||||
dc.Parent = value;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user