finishing up the removal of Rooded SettingsChanged
Added AnyPrinterSettingChanged event
This commit is contained in:
parent
7296aea99f
commit
1c9b105926
5 changed files with 10 additions and 8 deletions
|
|
@ -60,7 +60,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
// Year|month|day|versionForDay (to support multiple revisions on a given day)
|
||||
public static int LatestVersion { get; } = 201606271;
|
||||
|
||||
// TODO: Change to instance based, revise listeners and register to expect specific printer settings
|
||||
public static EventHandler AnyPrinterSettingChanged;
|
||||
|
||||
public EventHandler SettingChanged;
|
||||
|
||||
public event EventHandler MaterialPresetChanged;
|
||||
|
|
@ -73,6 +74,7 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
public void OnSettingChanged(string slicerConfigName)
|
||||
{
|
||||
SettingChanged?.Invoke(this, new StringEventArgs(slicerConfigName));
|
||||
AnyPrinterSettingChanged?.Invoke(this, new StringEventArgs(slicerConfigName));
|
||||
}
|
||||
|
||||
public event EventHandler PrintLevelingEnabledChanged;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue