624 |
624 |
625 while (colnum < 512 && (getColor (colnum) == null || isColorUsed (colnum))) |
625 while (colnum < 512 && (getColor (colnum) == null || isColorUsed (colnum))) |
626 colnum++; |
626 colnum++; |
627 |
627 |
628 if (colnum >= 512) { |
628 if (colnum >= 512) { |
629 critical ("Out of unused colors! What are you doing?!"); |
629 //: Auto-colorer error message |
|
630 critical( QObject::tr( "Out of unused colors! What are you doing?!" )); |
630 return; |
631 return; |
631 } |
632 } |
632 |
633 |
633 for (LDObject* obj : g_win->sel ()) { |
634 for (LDObject* obj : g_win->sel ()) { |
634 if (obj->isColored () == false) |
635 if (obj->isColored () == false) |