Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c99b675

Browse files
committed
For reasons unknown previewProc and filterProc were disabled. Enabled them.
1 parent f0d12da commit c99b675

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Mac/Modules/Nav.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,9 @@ filldialogoptions(PyObject *d,
202202
} else if( eventProcP && strcmp(keystr, "eventProc") == 0 ) {
203203
*eventProcP = my_eventProcUPP;
204204
} else if( previewProcP && strcmp(keystr, "previewProc") == 0 ) {
205-
PyErr_SetString(ErrorObject, "No callbacks implemented yet");
206-
return 0;
205+
*previewProcP = my_previewProcUPP;
207206
} else if( filterProcP && strcmp(keystr, "filterProc") == 0 ) {
208-
PyErr_SetString(ErrorObject, "No callbacks implemented yet");
209-
return 0;
207+
*filterProcP = my_filterProcUPP;
210208
} else if( typeListP && strcmp(keystr, "typeList") == 0 ) {
211209
if ( !PyArg_Parse(value, "O&", ResObj_Convert, typeListP) )
212210
return 0;

0 commit comments

Comments
 (0)