1062:4119185b56ca | 1063:1f15c52c11f6 |
---|---|
72 print ("%1 quadrilaterals split", num); | 72 print ("%1 quadrilaterals split", num); |
73 } | 73 } |
74 | 74 |
75 void AlgorithmToolset::editRaw() | 75 void AlgorithmToolset::editRaw() |
76 { | 76 { |
77 if (selectedObjects().size() != 1) | 77 if (length(selectedObjects()) != 1) |
78 return; | 78 return; |
79 | 79 |
80 LDObject* obj = selectedObjects()[0]; | 80 LDObject* obj = selectedObjects()[0]; |
81 QDialog* dlg = new QDialog; | 81 QDialog* dlg = new QDialog; |
82 Ui::EditRawUI ui; | 82 Ui::EditRawUI ui; |
429 m_window->refresh(); | 429 m_window->refresh(); |
430 } | 430 } |
431 | 431 |
432 void AlgorithmToolset::subfileSelection() | 432 void AlgorithmToolset::subfileSelection() |
433 { | 433 { |
434 if (selectedObjects().size() == 0) | 434 if (selectedObjects().isEmpty()) |
435 return; | 435 return; |
436 | 436 |
437 QString parentpath (currentDocument()->fullPath()); | 437 QString parentpath (currentDocument()->fullPath()); |
438 | 438 |
439 // BFC type of the new subfile - it shall inherit the BFC type of the parent document | 439 // BFC type of the new subfile - it shall inherit the BFC type of the parent document |