File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1279,6 +1279,9 @@ UI design by Wayne Fan</string>
1279
1279
</connections >
1280
1280
</customView >
1281
1281
</subviews >
1282
+ <connections >
1283
+ <outlet property =" imageView" destination =" Apd-kA-Fr2" id =" 22r-bO-hHz" />
1284
+ </connections >
1282
1285
</view >
1283
1286
<color key =" fillColor" name =" windowBackgroundColor" catalog =" System" colorSpace =" catalog" />
1284
1287
</box >
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ - (void)_openRepositoryWithURL:(NSURL*)url withCloneMode:(CloneMode)cloneMode wi
17
17
18
18
@interface WelcomeWindowView : NSView <NSDraggingDestination >
19
19
@property (weak , nonatomic , readonly ) AppDelegate *appDelegate;
20
+ @property (weak , nonatomic ) IBOutlet NSImageView *imageView;
20
21
@property (assign , nonatomic ) BOOL receivingDrag;
21
22
@end
22
23
@@ -29,6 +30,7 @@ - (AppDelegate *)appDelegate {
29
30
30
31
#pragma mark - Setup
31
32
- (void )setup {
33
+ [self .imageView unregisterDraggedTypes ];
32
34
[self registerForDraggedTypes: @[NSURLPboardType ]];
33
35
}
34
36
You can’t perform that action at this time.
0 commit comments