Making print history clearable and update with new data
fixing warnings
This commit is contained in:
parent
215e86eb5a
commit
78d4059c80
16 changed files with 447 additions and 247 deletions
|
|
@ -36,8 +36,9 @@ namespace MatterHackers.MatterControl.PrintHistory
|
|||
public class PrintHistoryData
|
||||
{
|
||||
public static readonly int RecordLimit = 20;
|
||||
public RootedObjectEventHandler HistoryCleared = new RootedObjectEventHandler();
|
||||
public bool ShowTimestamp;
|
||||
|
||||
public RootedObjectEventHandler HistoryCleared { get; private set; } = new RootedObjectEventHandler();
|
||||
|
||||
private static PrintHistoryData instance;
|
||||
|
||||
public static PrintHistoryData Instance
|
||||
|
|
@ -48,6 +49,7 @@ namespace MatterHackers.MatterControl.PrintHistory
|
|||
{
|
||||
instance = new PrintHistoryData();
|
||||
}
|
||||
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue