diff --git a/ChangeLog b/ChangeLog index a1ec4934..e9dd95be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -48,6 +48,7 @@ FIXED warning messages FIXED db data tag reading error FIXED usage of BOOST >= 1.38.0 FIXED the extraction of the time resolution for the mud data format, since MUD_getHistFsPerBin seems sometimes to return just crap. +CHANGED musredit: change into the msr-file directory before calling musrview. This is needed if userFcn's are using startup XMLs. CHANGED musredit: improved file system watcher notification mechanism to prevent multiple user notifications. CHANGED fit range decimal precision handling of PMsrHandler improved (MUSR-150 request). It is now handling up to 4 decimal places. diff --git a/src/musredit/PTextEdit.cpp b/src/musredit/PTextEdit.cpp index 738489f7..f97b4ee4 100644 --- a/src/musredit/PTextEdit.cpp +++ b/src/musredit/PTextEdit.cpp @@ -2048,7 +2048,9 @@ void PTextEdit::musrView() QString cmd; QString str; - str = fAdmin->getExecPath() + "/musrview"; + str = "cd " + QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "; "; + + str += fAdmin->getExecPath() + "/musrview"; cmd = str + " \""; str = *fFilenames.find( currentEditor() );