| 82 | } |
| 83 | |
| 84 | std::shared_ptr<RS_Pattern> QG_PatternBox::getPattern() { |
| 85 | if (currentPattern == nullptr || currentPattern->countDeep()==0) |
| 86 | currentPattern = RS_PATTERNLIST->requestPattern(currentText()); |
| 87 | return currentPattern; |
| 88 | } |
| 89 | |
| 90 | /** |
| 91 | * Called when the pattern has changed. This method |