Got the 'connect' button to do a connect after selecting a printer if a printer was not selected.
This commit is contained in:
parent
84654d5e68
commit
2c88fdc1fc
2 changed files with 13 additions and 4 deletions
|
|
@ -130,9 +130,10 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
gcodeDispalyWidget = new GuiWidget(HAnchor.ParentLeftRight, Agg.UI.VAnchor.ParentBottomTop);
|
||||
|
||||
string startingMessage = LocalizedString.Get("No GCode Available...");
|
||||
string startingMessage = "";
|
||||
if (printItem != null)
|
||||
{
|
||||
startingMessage = LocalizedString.Get("No GCode Available...");
|
||||
startingMessage = LocalizedString.Get("Loading GCode...");
|
||||
if (Path.GetExtension(printItem.FileLocation).ToUpper() == ".GCODE")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue