MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / updateView

Method updateView

Gui/SequenceFileDialog.cpp:1072–1085  ·  view source on GitHub ↗

This function is called when a directory has successfully been loaded (i.e when the filesystem finished to load thoroughly the directory requested)*/

Source from the content-addressed store, hash-verified

1070/*This function is called when a directory has successfully been loaded (i.e
1071 when the filesystem finished to load thoroughly the directory requested)*/
1072void
1073SequenceFileDialog::updateView(const QString &directory)
1074{
1075 FileSystemItemPtr directoryItem = _model->getFileSystemItem(directory);
1076
1077 assert(directoryItem);
1078
1079 QModelIndex index = _model->index( directoryItem.get() );
1080 /*update the view to show the newly loaded directory*/
1081 setRootIndex(index);
1082
1083 /*clearselection*/
1084 _view->selectionModel()->clear();
1085}
1086
1087bool
1088SequenceFileDialog::sequenceModeEnabled() const

Callers

nothing calls this directly

Calls 4

getFileSystemItemMethod · 0.80
indexMethod · 0.45
getMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected