Commit 04696222 authored by Clément Fauconnier's avatar Clément Fauconnier

revert focusChanged changes

parent c72919f1
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment