Fixed export windows in Print Queue Item and Library Item from opening multiple times. I also added a test for adding ".stl" and ".gcode" file extensions and did more localization.
This commit is contained in:
parent
34c3d16fd7
commit
86218c4710
19 changed files with 286 additions and 72 deletions
|
|
@ -37,6 +37,7 @@ using MatterHackers.Localizations;
|
|||
using MatterHackers.MatterControl.DataStorage;
|
||||
using MatterHackers.MatterControl.PrintQueue;
|
||||
using MatterHackers.VectorMath;
|
||||
using MatterHackers.Localizations;
|
||||
|
||||
namespace MatterHackers.MatterControl.PartPreviewWindow
|
||||
{
|
||||
|
|
@ -49,7 +50,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
public PartPreviewMainWindow(PrintItemWrapper printItem)
|
||||
: base(690, 340)
|
||||
{
|
||||
Title = "MatterControl: " + Path.GetFileName(printItem.Name);
|
||||
string partPreviewTitle = new LocalizedString ("MatterControl").Translated;
|
||||
Title = string.Format("{0}: ", partPreviewTitle) + Path.GetFileName(printItem.Name);
|
||||
|
||||
BackgroundColor = ActiveTheme.Instance.PrimaryBackgroundColor;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue