change into the msr-file directory before calling musrview

This commit is contained in:
nemu 2010-10-18 05:09:27 +00:00
parent bdde8b22c0
commit 616740f299
2 changed files with 4 additions and 1 deletions

View File

@ -48,6 +48,7 @@ FIXED warning messages
FIXED db data tag reading error FIXED db data tag reading error
FIXED usage of BOOST >= 1.38.0 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. 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 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 CHANGED fit range decimal precision handling of PMsrHandler improved (MUSR-150 request). It is now
handling up to 4 decimal places. handling up to 4 decimal places.

View File

@ -2048,7 +2048,9 @@ void PTextEdit::musrView()
QString cmd; QString cmd;
QString str; QString str;
str = fAdmin->getExecPath() + "/musrview"; str = "cd " + QFileInfo(*fFilenames.find( currentEditor() )).absolutePath() + "; ";
str += fAdmin->getExecPath() + "/musrview";
cmd = str + " \""; cmd = str + " \"";
str = *fFilenames.find( currentEditor() ); str = *fFilenames.find( currentEditor() );