Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a small message to let folks know how to paste in lieu of the rig…

…ht-click menu.
  • Loading branch information...
commit d780c2a787615c3186a185d593de45733b7170a8 1 parent 178f37a
@cyberfox authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/com/jbidwatcher/ui/commands/UserActions.java
View
4 src/com/jbidwatcher/ui/commands/UserActions.java
@@ -15,6 +15,7 @@
import java.util.regex.Matcher;
import com.cyberfox.util.platform.Path;
+import com.cyberfox.util.platform.Platform;
import com.github.rjeschke.txtmark.Processor;
import com.jbidwatcher.ui.*;
import com.jbidwatcher.util.config.*;
@@ -424,7 +425,8 @@ private void DoCopy(Component src, AuctionEntry ae) {
}
private void DoAdd(Component src) {
- String prompt = "Enter the auction number to add";
+ String keyModifier = Platform.isMac() ? "Cmd" : "Ctrl";
+ String prompt = "<html><body>Enter the auction number to add <small>(Press " + keyModifier + "-V to paste)</small></body></html>";
String endResult = promptString(src, prompt, "Adding");

0 comments on commit d780c2a

Please sign in to comment.
Something went wrong with that request. Please try again.