fix: openb
This commit is contained in:
parent
b21b0384e1
commit
ab5821a062
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,11 @@ private fun openBrowser(uri: URI) {
|
|||
val content = StringSelection(uri.toString())
|
||||
clipboard.setContents(content, null)
|
||||
}
|
||||
} catch (_ : Exception){
|
||||
val clipboard = Toolkit.getDefaultToolkit().systemClipboard
|
||||
val content = StringSelection(uri.toString())
|
||||
clipboard.setContents(content, null)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue