diff options
Diffstat (limited to 'src/Interface/RibbonController.cs')
-rw-r--r-- | src/Interface/RibbonController.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Interface/RibbonController.cs b/src/Interface/RibbonController.cs index b2e7b28..822fe98 100644 --- a/src/Interface/RibbonController.cs +++ b/src/Interface/RibbonController.cs @@ -91,7 +91,11 @@ namespace RehauSku.Interface public void OnSetPricePressed(IRibbonControl control) { string path = Dialog.GetFilePath(); - RegistryUtil.PriceListPath = path; + + if (!string.IsNullOrEmpty(path)) + { + RegistryUtil.PriceListPath = path; + } } } } |