From 05b0938890448c75da5d40d4c9afbc3c505d3d57 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 31 May 2019 20:00:19 +0300 Subject: fix for ... button behavior --- plugins/SmileyAdd/src/options.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/SmileyAdd/src') diff --git a/plugins/SmileyAdd/src/options.cpp b/plugins/SmileyAdd/src/options.cpp index 2781a60508..5195c4e9cc 100644 --- a/plugins/SmileyAdd/src/options.cpp +++ b/plugins/SmileyAdd/src/options.cpp @@ -152,8 +152,9 @@ class COptionsDialog : public CDlgBase return false; wchar_t szOutPath[MAX_PATH]; - PathToRelativeW(filename, szOutPath); + PathToRelativeW(filename, szOutPath, g_plugin.wszDefaultPath); smc->SetFilename(szOutPath); + UpdateControls(); return true; } -- cgit v1.2.3