fixed a bug where thumbnail view was not centering on the active thumbnail view, when clicking on the Next Icon (main bar)

preferencesAboutTextFull
Clément Fauconnier 7 years ago
parent 8645c28471
commit 3822e1f360
  1. 2
      src/gui/UBDockPalette.cpp
  2. 1
      src/gui/UBDockPalette.h

@ -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)
toggleCollapseExpand(); toggleCollapseExpand();
} }
mTabPalette->update(); mTabPalette->update();
emit pageSelectionChangedRequired();
} }
/** /**

@ -152,6 +152,7 @@ public slots:
signals: signals:
void mouseEntered(); void mouseEntered();
void pageSelectionChangedRequired();
protected: protected:
virtual int border(); virtual int border();

Loading…
Cancel
Save