1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-26 02:04:12 +03:00

set userconfiguring early enough on first creation

This commit is contained in:
Michail Vourlakos 2021-05-30 08:59:28 +03:00
parent d5450d7338
commit 9790b0cdad

View File

@ -51,6 +51,9 @@ ViewPart::PrimaryConfigView *ViewSettingsFactory::primaryConfigView()
ViewPart::PrimaryConfigView *ViewSettingsFactory::primaryConfigView(Latte::View *view)
{
if (!m_primaryConfigView) {
//!set user configuring early enough in order to give config windows time to be created properly
view->containment()->setUserConfiguring(true);
m_primaryConfigView = new ViewPart::PrimaryConfigView(view);
} else {
auto previousView = m_primaryConfigView->parentView();