Only highlight labels when there are labels.

This commit is contained in:
Pere Pujal i Carabantes 2010-01-27 14:15:38 +00:00
parent edfd833424
commit ade8febfb2

View file

@ -3338,6 +3338,8 @@ static void mainloop(void)
update_canvas(0, 0, WINDOW_WIDTH - 96, (48 * 7) + 40 + HEIGHTOFFSET); update_canvas(0, 0, WINDOW_WIDTH - 96, (48 * 7) + 40 + HEIGHTOFFSET);
} }
else else
{
if (are_labels())
{ {
if( texttool_len > 0) if( texttool_len > 0)
{ {
@ -3356,8 +3358,6 @@ static void mainloop(void)
} }
if (are_labels())
{
cur_label = LABEL_SELECT; cur_label = LABEL_SELECT;
highlight_label_nodes(); highlight_label_nodes();
} }