Fix [#34675] *AFTER 2.69* Info view shows duplicate operators with incorrect values...
[blender.git] / source / blender / editors / interface / interface_handlers.c
index 8a0b3a500b5362a2d01d9a5696c3f010b0c525ff..903a5e724994b34e8362df0f9a5a5cfa9ec3b484 100644 (file)
@@ -1534,7 +1534,7 @@ static void ui_but_copy_paste(bContext *C, uiBut *but, uiHandleButtonData *data,
                        char *str;
                        opptr = uiButGetOperatorPtrRNA(but); /* allocated when needed, the button owns it */
 
-                       str = WM_operator_pystring(C, but->optype, opptr, 0);
+                       str = WM_operator_pystring_ex(C, NULL, false, but->optype, opptr);
 
                        WM_clipboard_text_set(str, 0);