mirror of https://github.com/zlatinb/muwire
switch to downloads tab on download
parent
4af07ece40
commit
a2c41652d4
|
@ -39,6 +39,8 @@ class CollectionTabController {
|
|||
infoHash : CollectionManager.hash(collection)
|
||||
)
|
||||
model.eventBus.publish(e)
|
||||
|
||||
switchToDLTab()
|
||||
}
|
||||
|
||||
@ControllerAction
|
||||
|
@ -58,6 +60,12 @@ class CollectionTabController {
|
|||
infoHash : CollectionManager.hash(collection)
|
||||
)
|
||||
model.eventBus.publish(e)
|
||||
|
||||
switchToDLTab()
|
||||
}
|
||||
|
||||
private void switchToDLTab() {
|
||||
application.mvcGroupManager.getGroups()['MainFrame'].view.showDownloadsWindow.call()
|
||||
}
|
||||
|
||||
@ControllerAction
|
||||
|
|
Loading…
Reference in New Issue