Skip to content

Commit e91b69a

Browse files
Tom O'ReillyTom O'Reilly
authored andcommitted
emit datafile name changed if file specified on command line
1 parent 1544ebc commit e91b69a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/qt-mbeditviz/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ int main(int argc, char* argv[])
144144
// finds the data already loaded and wires up both pipelines immediately.
145145
if (topoDataFile) {
146146
dataset->loadFile(QString::fromLocal8Bit(topoDataFile));
147+
emit surfaceItem->dataFilenameChanged(topoDataFile);
147148
}
148149

149150
QQuickWindow *window = qobject_cast<QQuickWindow*>(topLevel);

0 commit comments

Comments
 (0)