mirror of https://github.com/zlatinb/muwire
make sure browse window works from every parent group
parent
fec81808e5
commit
9f6a7eb368
|
@ -106,8 +106,9 @@ class BrowseView {
|
|||
else
|
||||
model.viewCommentActionEnabled = false
|
||||
|
||||
def mainFrameGroup = application.mvcGroupManager.getGroups()['MainFrame']
|
||||
rows.each {
|
||||
downloadActionEnabled &= mvcGroup.parentGroup.parentGroup.model.canDownload(model.results[it].infohash)
|
||||
downloadActionEnabled &= mainFrameGroup.model.canDownload(model.results[it].infohash)
|
||||
}
|
||||
model.downloadActionEnabled = downloadActionEnabled
|
||||
|
||||
|
|
Loading…
Reference in New Issue