aboutsummaryrefslogtreecommitdiff
path: root/src/AddIn
diff options
context:
space:
mode:
Diffstat (limited to 'src/AddIn')
-rw-r--r--src/AddIn/RegistryUtil.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/AddIn/RegistryUtil.cs b/src/AddIn/RegistryUtil.cs
index 5fe2eea..a13e941 100644
--- a/src/AddIn/RegistryUtil.cs
+++ b/src/AddIn/RegistryUtil.cs
@@ -63,9 +63,15 @@ namespace RehauSku
{
priceListPath = value;
RootKey.SetValue("PriceListPath", value);
+ RibbonController.RefreshControl("setPriceList");
}
}
+ public static string GetPriceListName()
+ {
+ return Path.GetFileName(priceListPath);
+ }
+
public static ResponseOrder StoreResponseOrder
{
get