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:
gregory-diaz 2014-02-18 12:51:11 -08:00
parent 34c3d16fd7
commit 86218c4710
19 changed files with 286 additions and 72 deletions

View file

@ -24,7 +24,10 @@ namespace MatterHackers.MatterControl.PrinterControls.PrinterConnections
public ConnectionWindow()
: base(350, 500)
{
Title = new LocalizedString("MatterControl - Connect to Printer").Translated;
string connectToPrinterTitle = new LocalizedString("MatterControl").Translated;
string connectToPrinterTitleEnd = new LocalizedString ("Connect to Printer").Translated;
Title = string.Format("{0} - {1}",connectToPrinterTitle,connectToPrinterTitleEnd);
if (GetPrinterRecordCount() > 0)
{
ChangeToChoosePrinter();