[chirp_devel] [PATCH 2 of 2] [ui] Store clipboard outside of app, so paste works after quitting
Tom Hayward
Thu May 26 12:16:00 PDT 2016
# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1464290084 25200
# Thu May 26 12:14:44 2016 -0700
# Node ID 8ba3e3590a2a26f67a85f0c26ea4ca89d5b86081
# Parent 5e201db884fbc23ea7884f312b5432c419002370
[ui] Store clipboard outside of app, so paste works after quitting.
diff -r 5e201db884fb -r 8ba3e3590a2a 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 12:14:44 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