| 310 idx++; |
310 idx++; |
| 311 } |
311 } |
| 312 |
312 |
| 313 if (historyCopies.size() > 0) { |
313 if (historyCopies.size() > 0) { |
| 314 History::addEntry (new AddHistory (historyIndices, historyCopies)); |
314 History::addEntry (new AddHistory (historyIndices, historyCopies)); |
| 315 g_win->refresh (); |
315 g_win->fullRefresh (); |
| 316 g_win->scrollToSelection (); |
316 g_win->scrollToSelection (); |
| 317 } |
317 } |
| 318 } |
318 } |
| 319 |
319 |
| 320 // ============================================================================= |
320 // ============================================================================= |
| 352 idx++; |
352 idx++; |
| 353 } |
353 } |
| 354 |
354 |
| 355 if (historyCopies.size () > 0) { |
355 if (historyCopies.size () > 0) { |
| 356 History::addEntry (new AddHistory (historyIndices, historyCopies)); |
356 History::addEntry (new AddHistory (historyIndices, historyCopies)); |
| 357 g_win->refresh (); |
357 g_win->fullRefresh (); |
| 358 g_win->scrollToSelection (); |
358 g_win->scrollToSelection (); |
| 359 } |
359 } |
| 360 } |
360 } |
| 361 |
361 |
| 362 // ============================================================================= |
362 // ============================================================================= |
| 413 // ============================================================================= |
413 // ============================================================================= |
| 414 MAKE_ACTION (visibility, "Toggle Visibility", "visibility", "Toggles visibility/hiding on objects.", (0)) { |
414 MAKE_ACTION (visibility, "Toggle Visibility", "visibility", "Toggles visibility/hiding on objects.", (0)) { |
| 415 for (LDObject* obj : g_win->sel ()) |
415 for (LDObject* obj : g_win->sel ()) |
| 416 obj->setHidden (!obj->hidden ()); |
416 obj->setHidden (!obj->hidden ()); |
| 417 |
417 |
| 418 g_win->refresh (); |
418 g_win->fullRefresh (); |
| 419 } |
419 } |