Remove runtime string concatenation
This commit is contained in:
parent
34fd7bae3d
commit
b2712b3b28
4 changed files with 6 additions and 6 deletions
|
|
@ -209,7 +209,7 @@ namespace MatterHackers.MatterControl.EeProm
|
|||
UiThread.RunOnIdle(() =>
|
||||
{
|
||||
FileDialog.OpenFileDialog(
|
||||
new OpenFileDialogParams("EEPROM Settings" + "|*.ini")
|
||||
new OpenFileDialogParams("EEPROM Settings|*.ini")
|
||||
{
|
||||
ActionButtonLabel = "Import EEPROM Settings".Localize(),
|
||||
Title = "Import EEPROM".Localize(),
|
||||
|
|
@ -237,7 +237,7 @@ namespace MatterHackers.MatterControl.EeProm
|
|||
{
|
||||
string defaultFileNameNoPath = "eeprom_settings.ini";
|
||||
FileDialog.SaveFileDialog(
|
||||
new SaveFileDialogParams("EEPROM Settings" + "|*.ini")
|
||||
new SaveFileDialogParams("EEPROM Settings|*.ini")
|
||||
{
|
||||
ActionButtonLabel = "Export EEPROM Settings".Localize(),
|
||||
Title = "Export EEPROM".Localize(),
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ namespace MatterHackers.MatterControl.EeProm
|
|||
UiThread.RunOnIdle(() =>
|
||||
{
|
||||
FileDialog.OpenFileDialog(
|
||||
new OpenFileDialogParams("EEPROM Settings" + "|*.ini")
|
||||
new OpenFileDialogParams("EEPROM Settings|*.ini")
|
||||
{
|
||||
ActionButtonLabel = "Import EEPROM Settings".Localize(),
|
||||
Title = "Import EEPROM".Localize(),
|
||||
|
|
@ -148,7 +148,7 @@ namespace MatterHackers.MatterControl.EeProm
|
|||
UiThread.RunOnIdle(() =>
|
||||
{
|
||||
FileDialog.SaveFileDialog(
|
||||
new SaveFileDialogParams("EEPROM Settings" + "|*.ini")
|
||||
new SaveFileDialogParams("EEPROM Settings|*.ini")
|
||||
{
|
||||
ActionButtonLabel = "Export EEPROM Settings".Localize(),
|
||||
Title = "Export EEPROM".Localize(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue