fixed a terrible bug in DictionarySettings (sorry!).
This commit is contained in:
parent
eb30452579
commit
bd203b5cc3
2 changed files with 8 additions and 10 deletions
|
@ -2135,7 +2135,6 @@ public void paste(int offset)
|
|||
|
||||
JToolBar toolbar = null ;
|
||||
|
||||
System.out.println ( parent.toString () ) ;
|
||||
for ( int child = 0; child < parent.getComponentCount (); child++ )
|
||||
{
|
||||
if ( parent.getComponent ( child ) instanceof JToolBar )
|
||||
|
|
|
@ -42,8 +42,8 @@ public class GlobalResourceHolder
|
|||
|
||||
static class Listener implements Observer
|
||||
{
|
||||
public static final int DICTIONARY_SETTINGS = 1 ;
|
||||
|
||||
public static final int DICTIONARY_SETTINGS = 1 ;
|
||||
|
||||
/**
|
||||
* update
|
||||
*
|
||||
|
@ -61,7 +61,6 @@ public class GlobalResourceHolder
|
|||
{
|
||||
if ( null == GlobalResourceHolder.settingsServiceProvider )
|
||||
return ;
|
||||
|
||||
if ( DICTIONARY_SETTINGS == setting )
|
||||
{
|
||||
//
|
||||
|
@ -188,7 +187,7 @@ public class GlobalResourceHolder
|
|||
System.err.println ( "TibetanScanner.loadDictionaryScanner () --> " + e.toString () ) ;
|
||||
dictionaryLoadState = DictionaryLoadState.ERROR ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return ts ;
|
||||
}
|
||||
|
@ -283,11 +282,11 @@ public class GlobalResourceHolder
|
|||
flagIsUsingLocalFonts = true ;
|
||||
}
|
||||
|
||||
/*
|
||||
* setFontSize
|
||||
*
|
||||
* notifies the GlobalResource about the most probably used font size
|
||||
*
|
||||
/*
|
||||
* setFontSize
|
||||
*
|
||||
* notifies the GlobalResource about the most probably used font size
|
||||
*
|
||||
*/
|
||||
protected static void setFontSize ( int fontSize )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue