revert focusChanged changes

preferencesAboutTextFull
Clément Fauconnier 6 years ago
parent c72919f14e
commit 0469622221
  1. 2
      src/document/UBDocumentController.cpp

@ -3009,12 +3009,10 @@ void UBDocumentController::focusChanged(QWidget *old, QWidget *current)
if (current == mDocumentUI->thumbnailWidget) if (current == mDocumentUI->thumbnailWidget)
{ {
/*
if (mDocumentUI->thumbnailWidget->selectedItems().count() > 0) if (mDocumentUI->thumbnailWidget->selectedItems().count() > 0)
mSelectionType = Page; mSelectionType = Page;
else else
mSelectionType = None; mSelectionType = None;
*/
} }
else if (current == mDocumentUI->documentTreeView) else if (current == mDocumentUI->documentTreeView)
{ {

Loading…
Cancel
Save