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