mirror of https://github.com/zlatinb/muwire
suppress exception when failing to open a shared file
parent
c5580ae528
commit
c0feafbc08
|
@ -291,7 +291,9 @@ class MainFrameController {
|
|||
if (!view.selectedFolders().isEmpty())
|
||||
return
|
||||
SharedFile sf = selected[0]
|
||||
Desktop.getDesktop().open(sf.file)
|
||||
try {
|
||||
Desktop.getDesktop().open(sf.file)
|
||||
} catch (IOException ignore) {} // TODO: show some warning
|
||||
}
|
||||
|
||||
@ControllerAction
|
||||
|
|
Loading…
Reference in New Issue