mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 09:55:37 -04:00
[packagechooser] Set GlobalStorage packagechooser_<id>
This commit is contained in:
parent
c59ffc7765
commit
140c0db7a4
6 changed files with 45 additions and 1 deletions
|
@ -137,6 +137,15 @@ PackageChooserViewStep::isAtEnd() const
|
|||
void
|
||||
PackageChooserViewStep::onLeave()
|
||||
{
|
||||
QString key = QStringLiteral( "packagechooser_%1" ).arg( m_id );
|
||||
QString value;
|
||||
if ( m_widget->hasSelection() )
|
||||
{
|
||||
value = m_widget->selectedPackageIds().join( ',' );
|
||||
}
|
||||
Calamares::JobQueue::instance()->globalStorage()->insert( key, value );
|
||||
|
||||
cDebug() << "PackageChooser" << key << "selected" << value;
|
||||
}
|
||||
|
||||
Calamares::JobList
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue