Commit 12dd613
Fix: Read filter selection directly from panel's accessory view
The previous fix relied on the cached popup instance variable, which may
not be accessible or may have stale state in the delegate callback context.
Now we read the filter selection directly from the panel's accessory view
at the time the delegate method is called, ensuring we get the current
selection that the user actually chose.
This should fix the issue where the wrong extension (abcd instead of png)
was still being appended even after the previous fix.
Co-authored-by: vogella <[email protected]>1 parent 065b79e commit 12dd613
File tree
1 file changed
+32
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets
1 file changed
+32
-1
lines changedLines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
539 | 542 | | |
540 | | - | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
541 | 572 | | |
542 | 573 | | |
543 | 574 | | |
| |||
0 commit comments