mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 20:25:29 +08:00
Ref T659, improved handling of override checkbox in FSD details/voice
* the checkbox can be always enabled * or disabled in read only mode
This commit is contained in:
committed by
Mat Sutcliffe
parent
4e9bf35cfc
commit
d546ebdcba
@@ -44,6 +44,9 @@ namespace BlackGui
|
||||
//! Set to GUI
|
||||
void setValue(const BlackMisc::Network::CFsdSetup &setup);
|
||||
|
||||
//! Allow override even in read only mode
|
||||
void setAlwaysAllowOverride(bool allow);
|
||||
|
||||
//! Enabled?
|
||||
bool isFsdSetupEnabled() const;
|
||||
|
||||
@@ -70,7 +73,8 @@ namespace BlackGui
|
||||
void visibleEnableInfo(bool visible);
|
||||
|
||||
QScopedPointer<Ui::CFsdSetupForm> ui;
|
||||
bool m_visibleEnableInfo = true;
|
||||
bool m_visibleEnableInfo = true;
|
||||
bool m_alwaysAllowOverride = false;
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user