File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
tmc-plugin/src/fi/helsinki/cs/tmc/actions Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 7
7
import fi .helsinki .cs .tmc .data .CourseListUtils ;
8
8
import fi .helsinki .cs .tmc .model .CourseDb ;
9
9
import fi .helsinki .cs .tmc .model .ServerAccess ;
10
+ import fi .helsinki .cs .tmc .model .TmcCoreSingleton ;
10
11
import fi .helsinki .cs .tmc .model .TmcSettings ;
11
12
import fi .helsinki .cs .tmc .utilities .BgTaskListener ;
12
13
import fi .helsinki .cs .tmc .ui .ConvenientDialogDisplayer ;
@@ -48,7 +49,7 @@ public RefreshCoursesAction(TmcSettings settings) {
48
49
this .dialogs = ConvenientDialogDisplayer .getDefault ();
49
50
50
51
this .listeners = new BgTaskListenerList <List <Course >>();
51
- this .tmcCore = new TmcCore ();
52
+ this .tmcCore = TmcCoreSingleton . getInstance ();
52
53
}
53
54
54
55
public RefreshCoursesAction addDefaultListener (boolean showDialogOnError , boolean updateCourseDb ) {
You can’t perform that action at this time.
0 commit comments