mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Ref T345, directly update ATC stations when "in range" radio button changes
- forced update - use component directly, no copy of settings
This commit is contained in:
@@ -34,15 +34,22 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
virtual ~CSettingsAtcStationsInlineComponent();
|
||||
|
||||
//! Get the settings
|
||||
Settings::CAtcStationsSettings getSettings() const { return m_atcSettings.get(); }
|
||||
|
||||
signals:
|
||||
//! Changed value
|
||||
void changed();
|
||||
|
||||
private:
|
||||
//! Settings have been changed
|
||||
void settingsChanged();
|
||||
void onSettingsChanged();
|
||||
|
||||
//! Change the settings
|
||||
void changeSettings();
|
||||
|
||||
QScopedPointer<Ui::CSettingsAtcStationsInlineComponent> ui;
|
||||
BlackMisc::CSetting<BlackGui::Settings::TAtcStationsSettings> m_atcSettings { this, &CSettingsAtcStationsInlineComponent::settingsChanged };
|
||||
BlackMisc::CSetting<BlackGui::Settings::TAtcStationsSettings> m_atcSettings { this, &CSettingsAtcStationsInlineComponent::onSettingsChanged };
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user