Skip to content

Commit

Permalink
Check for missing allocation of dockWidgetGamepad
Browse files Browse the repository at this point in the history
  • Loading branch information
buddhi1980 committed Aug 23, 2024
1 parent 70a488d commit ece1b5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mandelbulber2/src/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ void cInterface::ShowUi()
mainWindow->ui->dockWidget_rendering_engine, mainWindow->ui->dockWidget_objects);
mainWindow->ui->dockWidget_animation->hide();
mainWindow->ui->dockWidget_info->hide();
mainWindow->ui->dockWidget_gamepad_dock->hide();
if (mainWindow->ui->dockWidget_gamepad_dock != nullptr)
mainWindow->ui->dockWidget_gamepad_dock->hide();
mainWindow->ui->dockWidget_histogram->hide();
mainWindow->ui->dockWidget_queue_dock->hide();
}
Expand Down

0 comments on commit ece1b5e

Please sign in to comment.