update the advanced sharing pane
This commit is contained in:
@@ -20,7 +20,7 @@ class AdvancedSharingModel {
|
||||
Core core
|
||||
|
||||
void mvcGroupInit(Map<String,String> args) {
|
||||
watchedDirectories.addAll(core.muOptions.watchedDirectories)
|
||||
watchedDirectories.addAll(core.watchedDirectoryManager.watchedDirs.values())
|
||||
|
||||
treeRoot = new DefaultMutableTreeNode()
|
||||
negativeTree = new DefaultTreeModel(treeRoot)
|
||||
|
||||
@@ -43,7 +43,9 @@ class AdvancedSharingView {
|
||||
scrollPane( constraints : BorderLayout.CENTER ) {
|
||||
watchedDirsTable = table(autoCreateRowSorter : true, rowHeight : rowHeight) {
|
||||
tableModel(list : model.watchedDirectories) {
|
||||
closureColumn(header : "Directory", type : String, read : {it})
|
||||
closureColumn(header : "Directory", type : String, read : {it.directory.toString()})
|
||||
closureColumn(header : "Automatic", type : Boolean, read : {it.autoWatch})
|
||||
closureColumn(header : "Sync Interval", type : Integer, read : {it.syncInterval})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user