Kaydet (Commit) 6d81c777 authored tarafından Michael Stahl's avatar Michael Stahl

sw: SwFieldVarPage: disable "Insert" button on "Input field"...

... if no variable name is selected.  It doesn't work in this case.

Change-Id: I36745806bcfc688b54b1ec49d0376b05bb5bbea6
üst bf47fef3
...@@ -937,7 +937,7 @@ IMPL_LINK_NOARG_TYPED(SwFieldVarPage, ModifyHdl, Edit&, void) ...@@ -937,7 +937,7 @@ IMPL_LINK_NOARG_TYPED(SwFieldVarPage, ModifyHdl, Edit&, void)
bInsert = false; bInsert = false;
} }
if( !nLen && ( nTypeId == TYP_SETFLD || if (!nLen && (nTypeId == TYP_SETFLD || nTypeId == TYP_INPUTFLD ||
(!IsFieldEdit() && nTypeId == TYP_GETFLD ) ) ) (!IsFieldEdit() && nTypeId == TYP_GETFLD ) ) )
bInsert = false; bInsert = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment