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 ...@@ -100,6 +100,7 @@ UBDockPalette::UBDockPalette(eUBDockPaletteType paletteType, QWidget *parent, co
connect(UBDownloadManager::downloadManager(), SIGNAL(allDownloadsFinished()), this, SLOT(onAllDownloadsFinished())); connect(UBDownloadManager::downloadManager(), SIGNAL(allDownloadsFinished()), this, SLOT(onAllDownloadsFinished()));
connect(UBApplication::boardController,SIGNAL(documentSet(UBDocumentProxy*)),this,SLOT(onDocumentSet(UBDocumentProxy*))); 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) ...@@ -315,6 +316,7 @@ void UBDockPalette::tabClicked(int tabIndex)
toggleCollapseExpand(); toggleCollapseExpand();
} }
mTabPalette->update(); mTabPalette->update();
emit pageSelectionChangedRequired();
} }
/** /**
......
...@@ -152,6 +152,7 @@ public slots: ...@@ -152,6 +152,7 @@ public slots:
signals: signals:
void mouseEntered(); void mouseEntered();
void pageSelectionChangedRequired();
protected: protected:
virtual int border(); 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