1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-10 21:18:19 +03:00

fix details window first showing layout

This commit is contained in:
Michail Vourlakos 2020-04-16 13:11:43 +03:00
parent da648b5b4e
commit f4fa185246

View File

@ -41,8 +41,6 @@ DetailsHandler::DetailsHandler(Dialog::DetailsDialog *parentDialog)
//! create it after initializing
m_infoHandler = new DetailsInfoHandler(parentDialog, this);
}
DetailsHandler::~DetailsHandler()
@ -51,9 +49,10 @@ DetailsHandler::~DetailsHandler()
void DetailsHandler::init()
{
connect(m_ui->layoutsCmb, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailsHandler::on_currentIndexChanged);
reload();
//! connect combobox after the selected layout has been loaded
connect(m_ui->layoutsCmb, QOverload<int>::of(&QComboBox::currentIndexChanged), this, &DetailsHandler::on_currentIndexChanged);
}
void DetailsHandler::reload()