From 662ea582cd57827475062fb6b728da6c21c14181 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 15:59:27 +0300 Subject: Move chat command /pricesave into actions. --- src/actions/actions.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 916bde3c2..97c792470 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -625,4 +625,14 @@ impHandler0(priceLoad) return false; } +impHandler0(priceSave) +{ + if (shopWindow) + { + shopWindow->saveList(); + return true; + } + return false; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2