Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-rabe committed Apr 10, 2018
1 parent ae44c46 commit 299ceab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/jEdit-mmt/src/info/kwarc/mmt/jedit/MMTPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ class MMTPlugin extends EBPlugin with Logger {
controller.addArchive(archivesFolder)
// if no lmh root has been defined (e.g., in the custom mmtrc file), we use the archives folder
if (controller.getMathHub.isEmpty && archives != "mars") {
controller.getConfig.addEntry(LMHConf(archivesFolder, true, None))
val cf = new MMTConfig
cf.addEntry(LMHConf(archivesFolder, true, None))
controller.loadConfig(cf,false)
}
// status bar is not actually available yet at this point
controller.report.addHandler(StatusBarLogger)
Expand Down

0 comments on commit 299ceab

Please sign in to comment.