Skip to content

Conversation

@tzobler
Copy link
Contributor

@tzobler tzobler commented Nov 5, 2025

Fixes a bug in swiftgui where models could not be assigned from the list in the model matcher.

@tzobler tzobler requested a review from ltoenning November 5, 2025 16:37
@tzobler tzobler linked an issue Nov 5, 2025 that may be closed by this pull request
@ltoenning ltoenning requested a review from Copilot November 5, 2025 16:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds functionality to handle model selection events from the aircraft models view. When a user clicks on a model in the aircraft models table view, the selected model is now automatically populated into the model string completer.

  • Added onModelSelectedInView slot that handles model selection from the aircraft models view
  • Connected the clicked signal from tvp_AircraftModels to the new slot

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/gui/components/mappingcomponent.h Declared the new onModelSelectedInView slot
src/gui/components/mappingcomponent.cpp Implemented the slot and connected it to the view's clicked signal

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ltoenning ltoenning merged commit 186c7aa into main Nov 15, 2025
17 checks passed
@ltoenning ltoenning deleted the fix_modelmatching branch November 15, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to change rendered aircraft model in versions newer than 0.15.46

4 participants