Expand all items in the GlobalStorage debug tree.
This commit is contained in:
parent
8729b6a25f
commit
3ce8abcb78
@ -38,12 +38,13 @@ DebugWindow::DebugWindow()
|
||||
globalStorageView->setModel( jsonModel );
|
||||
GlobalStorage* gs = JobQueue::instance()->globalStorage();
|
||||
|
||||
connect( gs, &GlobalStorage::changed, [ jsonModel, gs ]
|
||||
connect( gs, &GlobalStorage::changed, [ = ]
|
||||
{
|
||||
jsonModel->loadJson( QJsonDocument::fromVariant( gs->m ).toJson() );
|
||||
globalStorageView->expandAll();
|
||||
} );
|
||||
jsonModel->loadJson( QJsonDocument::fromVariant( gs->m ).toJson() );
|
||||
|
||||
globalStorageView->expandAll();
|
||||
|
||||
CALAMARES_RETRANSLATE( retranslateUi( this ); )
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user