Commit 3822e1f3 authored by Clément Fauconnier's avatar Clément Fauconnier

fixed a bug where thumbnail view was not centering on the active thumbnail...

fixed a bug where thumbnail view was not centering on the active thumbnail view, when clicking on the Next Icon (main bar)
parent 8645c284
......@@ -100,6 +100,7 @@ UBDockPalette::UBDockPalette(eUBDockPaletteType paletteType, QWidget *parent, co
connect(UBDownloadManager::downloadManager(), SIGNAL(allDownloadsFinished()), this, SLOT(onAllDownloadsFinished()));
connect(UBApplication::boardController,SIGNAL(documentSet(UBDocumentProxy*)),this,SLOT(onDocumentSet(UBDocumentProxy*)));
connect(this,SIGNAL(pageSelectionChangedRequired()),UBApplication::boardController,SLOT(selectionChanged()));
}
/**
......@@ -315,6 +316,7 @@ void UBDockPalette::tabClicked(int tabIndex)
toggleCollapseExpand();
}
mTabPalette->update();
emit pageSelectionChangedRequired();
}
/**
......
......@@ -152,6 +152,7 @@ public slots:
signals:
void mouseEntered();
void pageSelectionChangedRequired();
protected:
virtual int border();
......
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