When applying qt style sheet: fake starting search to update the html side

This commit is contained in:
Jean-Francois Dockes 2021-03-22 14:19:25 +01:00
parent 291b0c32d4
commit df3809a32f

View File

@ -1288,4 +1288,11 @@ void RclMain::showEvent(QShowEvent *ev)
void RclMain::applyStyleSheet() void RclMain::applyStyleSheet()
{ {
::applyStyleSheet(prefs.qssFile); ::applyStyleSheet(prefs.qssFile);
if (m_source) {
std::cerr << "applyStyleSheet emit docSourceChanged\n";
emit docSourceChanged(m_source);
emit sortDataChanged(m_sortspec);
} else {
resetSearch();
}
} }