Skip to content

Commit 08b03e1

Browse files
committed
fix(api-post): 导入链接,选中curl不重置
1 parent 74eb7a7 commit 08b03e1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

plugin-apipost/src/main/kotlin/me/leon/toolsfx/plugin/ApiPostView.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ class ApiPostView : PluginFragment("ApiPost") {
121121
}
122122
button(graphic = imageview(IMG_IMPORT)) {
123123
tooltip(messages["pasteFromClipboard"])
124-
action { resetUi(clipboardText()) }
124+
action {
125+
selectedUrl.set("")
126+
resetUi(clipboardText())
127+
}
125128
}
126129
button(graphic = imageview(IMG_RUN)) {
127130
enableWhen(!running)

0 commit comments

Comments
 (0)