| 404 | } |
| 405 | |
| 406 | void |
| 407 | KnobGuiFile::onMakeAbsoluteTriggered() |
| 408 | { |
| 409 | KnobFilePtr knob = _knob.lock(); |
| 410 | |
| 411 | if ( knob->getHolder() && knob->getHolder()->getApp() ) { |
| 412 | std::string oldValue = knob->getValue(); |
| 413 | std::string newValue = oldValue; |
| 414 | knob->getHolder()->getApp()->getProject()->canonicalizePath(newValue); |
| 415 | pushUndoCommand( new KnobUndoCommand<std::string>( shared_from_this(), oldValue, newValue ) ); |
| 416 | } |
| 417 | } |
| 418 | |
| 419 | void |
| 420 | KnobGuiFile::onMakeRelativeTriggered() |
nothing calls this directly
no test coverage detected