[chirp_devel] [PATCH] [ui] Store clipboard outside of app, so paste works after quitting. #3691
Tom Hayward
Thu May 26 16:43:57 PDT 2016
# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1464306218 25200
# Thu May 26 16:43:38 2016 -0700
# Node ID a3f3ac015afc65b78c08cd3547d6686d4ace7cb4
# Parent 5e201db884fbc23ea7884f312b5432c419002370
[ui] Store clipboard outside of app, so paste works after quitting. #3691
diff -r 5e201db884fb -r a3f3ac015afc chirp/ui/memedit.py
--- a/chirp/ui/memedit.py Thu May 26 12:13:38 2016 -0700
+++ b/chirp/ui/memedit.py Thu May 26 16:43:38 2016 -0700
@@ -1423,6 +1423,7 @@
result = pickle.dumps((self._features, selection))
clipboard = gtk.Clipboard(selection="CLIPBOARD")
clipboard.set_text(result)
+ clipboard.store()
return cut # Only changed if we did a cut
More information about the chirp_devel
mailing list