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(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();

Loading…
Cancel
Save