Add right click to toolbar
This commit is contained in:
parent
98cac92bc3
commit
9d201a3578
4 changed files with 569 additions and 613 deletions
|
|
@ -2014,13 +2014,20 @@ namespace MatterHackers.MatterControl
|
|||
translationFilePath = Path.Combine("Translations", "Master.txt");
|
||||
}
|
||||
|
||||
using (var stream = StaticData.Instance.OpenStream(translationFilePath))
|
||||
if (File.Exists(translationFilePath))
|
||||
{
|
||||
using (var streamReader = new StreamReader(stream))
|
||||
using (var stream = StaticData.Instance.OpenStream(translationFilePath))
|
||||
{
|
||||
TranslationMap.ActiveTranslationMap = new TranslationMap(streamReader, UserSettings.Instance.Language);
|
||||
using (var streamReader = new StreamReader(stream))
|
||||
{
|
||||
TranslationMap.ActiveTranslationMap = new TranslationMap(streamReader);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
TranslationMap.ActiveTranslationMap = new TranslationMap();
|
||||
}
|
||||
}
|
||||
|
||||
public void MonitorPrintTask(PrinterConfig printer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue