Main window: Import: Fix: only run the OCR if there are pages on which to run the OCR

Signed-off-by: Jerome Flesch <jflesch@gmail.com>