File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -309,15 +309,17 @@ - (IBAction)showPreferences:(id)sender {
309
309
310
310
-(void )regNotifEvent {
311
311
// drag event
312
- [[NSNotificationCenter defaultCenter ] addObserver: self selector: @selector (changeConfigList ) name: @" changeConfigList" object: nil ];
312
+ [[NSNotificationCenter defaultCenter ] addObserver: self selector: @selector (changeConfigListEvent ) name: @" changeConfigList" object: nil ];
313
313
}
314
314
315
- -(void )changeConfigList {
315
+ -(void )changeConfigListEvent {
316
316
[ProxyConfHelper disableProxy ];
317
317
[LaunchAgentsUtils stopHttpProxy ];
318
318
319
319
[self updateServersMenu ];
320
320
[self applyConf ];
321
+
322
+ [self Toast: @" Update succeeded" ];
321
323
}
322
324
323
325
- (void )applicationDidFinishLaunching : (NSNotification *)aNotification {
You can’t perform that action at this time.
0 commit comments