Commit ea83a565 authored by Morten Welinder's avatar Morten Welinder

Paste Special: allow from clipboard too, not just in-process.

parent b661dc33
......@@ -14,6 +14,7 @@ Morten:
* Avoid most punting for object properties.
* Fix paste from LibreOffice.
* Fix paste to LibreOffice -- use Biff8. [#795280]
* Allow inter-process paste-special. [#346630]
--------------------------------------------------------------------------
Gnumeric 1.12.39
......
......@@ -290,7 +290,7 @@ paste_cell (int target_col, int target_row,
value_dup (src->val), TRUE);
if (NULL != relo)
gnm_expr_top_unref (relo);
} else {
} else if (src->val) {
GnmValue *newval = NULL;
GnmValue const *oldval = src->val;
......
......@@ -1532,7 +1532,7 @@ wbcg_menu_state_update (WorkbookControl *wbc, int flags)
}
if (MS_PASTE_SPECIAL & flags)
wbc_gtk_set_action_sensitivity (wbcg, "EditPasteSpecial",
!gnm_app_clipboard_is_empty () &&
// Inter-process paste special is now allowed
!gnm_app_clipboard_is_cut () &&
!edit_object);
if (MS_PRINT_SETUP & flags)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment