summaryrefslogtreecommitdiff
path: root/uidesigner/vfdmain.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-01 12:34:02 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-01 12:36:07 +0200
commitd4de6b17ae95af88922817d84d7bd16421f2111a (patch)
treeb433461a8efd54a89d99aa685fb0b98e83786459 /uidesigner/vfdmain.pas
parentcf2ba4e5e0ff0ed49b4f1271c8acc27cbde4ee2e (diff)
downloadfpGUI-d4de6b17ae95af88922817d84d7bd16421f2111a.tar.xz
uidesigner: Improved the naming of the menu items and tooltips
It seems the previous captions sometimes cause confusion as to what action will be applied.
Diffstat (limited to 'uidesigner/vfdmain.pas')
-rw-r--r--uidesigner/vfdmain.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/uidesigner/vfdmain.pas b/uidesigner/vfdmain.pas
index 234b40df..60837d88 100644
--- a/uidesigner/vfdmain.pas
+++ b/uidesigner/vfdmain.pas
@@ -179,7 +179,7 @@ var
begin
fname := EditedFileName;
- if ((Sender as TComponent).Name = 'btnSave')
+ if ((Sender as TComponent).Tag = 10)
and (EditedFileName <> '') then
fname := EditedFileName
else