Comment about GetSelection() being context-aware. #2873
This commit is contained in:
parent
5b82f09308
commit
d549393a84
1 changed files with 1 additions and 0 deletions
|
@ -471,6 +471,7 @@ sub update_presets {
|
|||
sub filament_presets {
|
||||
my $self = shift;
|
||||
|
||||
# force scalar context for GetSelection() as it's context-aware
|
||||
return map scalar($_->GetSelection), @{ $self->{preset_choosers}{filament} };
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue