mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-19 03:57:26 -05:00
Compare commits
1 Commits
2697-talke
...
2687-histo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
291853c32e |
@@ -76,9 +76,11 @@ public class HistoryTableViewTest
|
||||
table.getSelectionModel().select(0);
|
||||
table.getSelectionModel().select(2);
|
||||
|
||||
//The copy shortcut is Cmd-C (meta) on macOS and Ctrl-C elsewhere
|
||||
boolean mac = System.getProperty("os.name", "").toLowerCase().startsWith("mac");
|
||||
Clipboard.getSystemClipboard().clear();
|
||||
Event.fireEvent(table, new KeyEvent(KeyEvent.KEY_PRESSED, "", "", KeyCode.C, false,
|
||||
true, false, false));
|
||||
!mac, false, mac));
|
||||
copied.complete(Clipboard.getSystemClipboard().getString());
|
||||
}
|
||||
catch(Throwable t)
|
||||
|
||||
Reference in New Issue
Block a user