src/gui_editactions.cpp

changeset 321
48e429bfd58c
parent 319
d0f41342ef51
child 326
469bf1fe26e8
equal deleted inserted replaced
320:737e466dae72 321:48e429bfd58c
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)

mercurial