mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Added FG in config component, follow up of T430
This commit is contained in:
committed by
Mat Sutcliffe
parent
a5835f963c
commit
4925bb46bd
@@ -142,6 +142,15 @@ namespace BlackGui
|
||||
s.setModelExcludeDirectories(relativeDirs);
|
||||
const CStatusMessage m = m_settings.setAndSaveSettings(s, simulator);
|
||||
if (!m.isEmpty()) { CLogMessage::preformatted(m); }
|
||||
if (m.isSuccess())
|
||||
{
|
||||
this->showOverlayHTMLMessage("Saved settings", 5000);
|
||||
}
|
||||
else
|
||||
{
|
||||
this->showOverlayMessage(m);
|
||||
}
|
||||
|
||||
m_unsavedChanges = m_unsavedChanges && !m.isSuccess(); // reset if success, but only if there were changes
|
||||
|
||||
// display as saved
|
||||
|
||||
Reference in New Issue
Block a user