Rev 258 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 258 | Rev 266 | ||
---|---|---|---|
Line 43... | Line 43... | ||
43 | 43 | ||
44 | public void paint ( Graphics g) |
44 | public void paint ( Graphics g) |
45 | { |
45 | { |
46 | if (select_mode) |
46 | if (select_mode) |
47 | { |
47 | { |
48 | if (canvas.menu_items[0]!=canvas.l(edit_source.tab_stringids[0])) // usefull? |
48 | if ((canvas.menu_items[0]!=canvas.lcd_lines[0])||(canvas.menu_items[0]!=canvas.l(edit_source.tab_stringids[0])||((canvas.menu_items.length!=edit_source.tab_stringids.length+1)))) // usefull? |
49 | { |
49 | { |
50 | act_y=1; |
50 | act_y=1; |
51 | menu_items=new String[edit_source.tab_stringids.length+1]; |
51 | menu_items=new String[edit_source.tab_stringids.length+1]; |
52 | for(int p=0;p<edit_source.tab_stringids.length;p++) |
52 | for(int p=0;p<edit_source.tab_stringids.length;p++) |