diff --git a/src/document/UBDocumentController.cpp b/src/document/UBDocumentController.cpp index 96b75d2d..cce89fbf 100644 --- a/src/document/UBDocumentController.cpp +++ b/src/document/UBDocumentController.cpp @@ -3009,12 +3009,10 @@ void UBDocumentController::focusChanged(QWidget *old, QWidget *current) if (current == mDocumentUI->thumbnailWidget) { - /* - if (mDocumentUI->thumbnailWidget->selectedItems().count() > 0) - mSelectionType = Page; - else - mSelectionType = None; - */ + if (mDocumentUI->thumbnailWidget->selectedItems().count() > 0) + mSelectionType = Page; + else + mSelectionType = None; } else if (current == mDocumentUI->documentTreeView) {