[plasmalnf] Reset layout along with theme
This commit is contained in:
parent
81128923e6
commit
7e5970324f
@ -79,7 +79,7 @@ PlasmaLnfJob::exec()
|
||||
|
||||
if ( system->doChroot() )
|
||||
{
|
||||
r = system->targetEnvCall( QStringList( { m_lnfPath, "-a", m_id } ) );
|
||||
r = system->targetEnvCall( QStringList( { m_lnfPath, "--resetlayout", "--apply", m_id } ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -58,7 +58,7 @@ PlasmaLnfPage::activated(const QString& name)
|
||||
cDebug() << "Changed to" << name;
|
||||
|
||||
QProcess lnftool;
|
||||
lnftool.start( Calamares::lnftool(), {"--apply", name} );
|
||||
lnftool.start( Calamares::lnftool(), {"--resetlayout", "--apply", name} );
|
||||
|
||||
if ( lnftool.waitForStarted(1000) && lnftool.waitForFinished( 1000 ) && (lnftool.exitCode() == 0) && (lnftool.exitStatus() == QProcess::NormalExit ) )
|
||||
; // OK
|
||||
|
Loading…
Reference in New Issue
Block a user