revert focusChanged changes

preferencesAboutTextFull
Clément Fauconnier 6 years ago
parent c72919f14e
commit 0469622221
  1. 10
      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)
{

Loading…
Cancel
Save