File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
binding/src/main/java/ch/cyberduck/binding Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public abstract class AlertController extends SheetController implements InputVa
4242 private boolean suppressed = false ;
4343
4444 @ Outlet
45- protected NSAlert alert ;
45+ private NSAlert alert ;
4646
4747 public AlertController () {
4848 super ();
@@ -66,6 +66,10 @@ public NSView getAccessoryView(final NSAlert alert) {
6666
6767 public abstract NSAlert loadAlert ();
6868
69+ public NSAlert alert () {
70+ return alert ;
71+ }
72+
6973 @ Override
7074 public void loadBundle () {
7175 alert = this .loadAlert ();
Original file line number Diff line number Diff line change 2020public class SystemAlertController extends AlertController {
2121
2222 @ Outlet
23- protected NSAlert alert ;
23+ private NSAlert alert ;
2424
2525 public SystemAlertController (final NSAlert alert ) {
2626 this .alert = alert ;
@@ -30,4 +30,9 @@ public SystemAlertController(final NSAlert alert) {
3030 public NSAlert loadAlert () {
3131 return alert ;
3232 }
33+
34+ @ Override
35+ public NSAlert alert () {
36+ return alert ;
37+ }
3338}
You can’t perform that action at this time.
0 commit comments