[libcalamaresui] try with upstream fix
This commit is contained in:
parent
5bbb71e90e
commit
e2f26467ab
@ -82,7 +82,7 @@ DebugWindow::DebugWindow()
|
|||||||
moduleConfigView->setModel( moduleConfigModel );
|
moduleConfigView->setModel( moduleConfigModel );
|
||||||
|
|
||||||
#ifdef WITH_PYTHONQT
|
#ifdef WITH_PYTHONQT
|
||||||
QPushButton* pythonConsoleButton = new QPushButton( this );
|
QPushButton* pythonConsoleButton = new QPushButton;
|
||||||
pythonConsoleButton->setText( "Attach Python console" );
|
pythonConsoleButton->setText( "Attach Python console" );
|
||||||
modulesVerticalLayout->insertWidget( 1, pythonConsoleButton );
|
modulesVerticalLayout->insertWidget( 1, pythonConsoleButton );
|
||||||
pythonConsoleButton->hide();
|
pythonConsoleButton->hide();
|
||||||
@ -149,13 +149,12 @@ DebugWindow::DebugWindow()
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
connect( modulesListView->selectionModel(), &QItemSelectionModel::selectionChanged,
|
||||||
|
this, [ this, moduleConfigModel
|
||||||
#ifdef WITH_PYTHONQT
|
#ifdef WITH_PYTHONQT
|
||||||
connect( modulesListView->selectionModel(), &QItemSelectionModel::selectionChanged,
|
, pythonConsoleButton
|
||||||
this, [ this, moduleConfigModel, pythonConsoleButton ]
|
|
||||||
#else
|
|
||||||
connect( modulesListView->selectionModel(), &QItemSelectionModel::selectionChanged,
|
|
||||||
this, [ this, moduleConfigModel ]
|
|
||||||
#endif
|
#endif
|
||||||
|
]
|
||||||
{
|
{
|
||||||
QString moduleName = modulesListView->currentIndex().data().toString();
|
QString moduleName = modulesListView->currentIndex().data().toString();
|
||||||
Module* module = ModuleManager::instance()->moduleInstance( moduleName );
|
Module* module = ModuleManager::instance()->moduleInstance( moduleName );
|
||||||
|
Loading…
Reference in New Issue
Block a user