Made pop out windows not save close state when switching selection in queue.
This commit is contained in:
parent
02ace524cf
commit
0d7c56301a
3 changed files with 8 additions and 5 deletions
|
|
@ -55,6 +55,8 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
private string dataBaseKeyPrefix;
|
||||
|
||||
public static bool SaveIfClosed { get; set; }
|
||||
|
||||
#region Public Members
|
||||
|
||||
public PopOutManager(GuiWidget widgetWhosContentsPopOut, Vector2 minSize, string windowTitle, string dataBaseKeyPrefix)
|
||||
|
|
@ -227,7 +229,7 @@ namespace MatterHackers.MatterControl
|
|||
private void SaveWindowShouldStartClosed()
|
||||
{
|
||||
if (!MatterControlApplication.Instance.HasBeenClosed
|
||||
&& !ApplicationController.Instance.Reloading)
|
||||
&& PopOutManager.SaveIfClosed)
|
||||
{
|
||||
UserSettings.Instance.Fields.SetBool(WindowLeftOpenKey, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue