aboutsummaryrefslogtreecommitdiff
path: root/src/AddIn/RegistryUtil.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-02-14 11:06:40 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-02-14 11:06:40 +0300
commit070733036b67e1b11132503d68a5e5d361cacc18 (patch)
tree2aed4d8855d972fa204e684d6a65eed0c231a091 /src/AddIn/RegistryUtil.cs
parent7144be9b9cae5fed0fcfde2e37512ab4397c6763 (diff)
getLabel implemetation for pricelist button
Diffstat (limited to 'src/AddIn/RegistryUtil.cs')
-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