Bugfixing configuration UI

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@139 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2012-03-11 13:05:41 +00:00
parent bf0c99a95c
commit 8140cf28f0
8 changed files with 41 additions and 24 deletions

View file

@ -16,11 +16,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* Copyright: 2002-2011 by Henrik Just
* Copyright: 2002-2012 by Henrik Just
*
* All Rights Reserved.
*
* Version 1.2 (2011-06-06)
* Version 1.2 (2012-03-07)
*
*/
@ -688,6 +688,7 @@ public abstract class ConfigurationDialogBase extends WeakBase implements XConta
if (sNewName!=null) {
styleMap[nCurrentFamily].put(sNewName, new HashMap<String,String>());
clearControls(dlg);
styleNameChange(dlg);
}
updateStyleControls(dlg);
}
@ -698,6 +699,7 @@ public abstract class ConfigurationDialogBase extends WeakBase implements XConta
String sStyleName = sCurrentStyleName;
if (deleteCurrentItem(dlg,"StyleName")) {
styleMap[nCurrentFamily].remove(sStyleName);
sCurrentStyleName=null;
styleNameChange(dlg);
}
updateStyleControls(dlg);