Bug fix in Printers.Enhanced.PrinterCfgCtrl.
This commit is contained in:
parent
38983990c2
commit
2c6e5d3367
@ -74,7 +74,6 @@ namespace TBF.Rig.Output.Printers.Enhanced
|
||||
|
||||
void Localize()
|
||||
{
|
||||
classNameLabel.Text = config.ClassName;
|
||||
nameLabel.Text = Strings.Name;
|
||||
printerLabel.Text = Strings.Printer;
|
||||
selectPrinterButton.Text = "Select";
|
||||
@ -92,7 +91,9 @@ namespace TBF.Rig.Output.Printers.Enhanced
|
||||
void Redraw()
|
||||
{
|
||||
if (config == null) return; /// Control was not loaded, settings were not changed
|
||||
nameTextBox.Text = config.Name;
|
||||
|
||||
classNameLabel.Text = config.ClassName;
|
||||
nameTextBox.Text = config.Name;
|
||||
printerComboBox.Text = string.IsNullOrEmpty(config.PrinterName) ? Strings.default_printer : config.PrinterName;
|
||||
templateTextBox.Text = config.Template;
|
||||
orientationComboBox.Text = config.PageOrientation.ToString();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user