Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Move current Clip will Clip 0 of 0 #130

Open
bstaint opened this issue May 13, 2016 · 0 comments
Open

After Move current Clip will Clip 0 of 0 #130

bstaint opened this issue May 13, 2016 · 0 comments

Comments

@bstaint
Copy link

bstaint commented May 13, 2016

After Move current Clip when clicked cancel will Clip 0 of 0
screenshot:
gif

I tried fixed it:
function choosechannelgui:

return is_notcancel ? "" : channel_list

so Clipjump.ahk line 924:

            temp21 := choosechannelgui()
            if Instr(temp21, "-") != 1

The result in either case will call API.manageClip

patch:

diff -urN a/Clipjump/Clipjump.ahk b/Clipjump/Clipjump.ahk
--- a/Clipjump/Clipjump.ahk 2016-04-22 10:34:54.000000000 +0800
+++ b/Clipjump/Clipjump.ahk 2016-05-13 22:13:00.347143200 +0800
@@ -922,7 +922,7 @@
            Tooltip
            Critical, Off
            temp21 := choosechannelgui()
-           if Instr(temp21, "-") != 1
+           if temp21 And Instr(temp21, "-") != 1
            {
                API.manageClip( temp21 , empty, empty, ( ctrlref == "cut" ) ? 0 : 1 )
                PasteModeTooltip(TXT.TIP_done,1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant