Import 2017-06-07 23:51:09: master 89e24e48

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-11-24 23:01:26 master 7cfc9d6f
Changeset

ENH: Fix scene save with default parameters

Novice Slicer users often complain that scene saving fails. The problem
is that Slicer offers scene saving in a read-only directory by default
(into the current working directory, which is the read-only program
binary directory by default).

Fixes applied:

  1. Changed the default scene root directory to be the user's documents
    folder (determined the same way as the default DICOM database directory).

  2. Made default scene directory configurable in the application settings
    GUI (selection is stored in application settings under "DefaultScenePath" key).

From: Andras Lasso <lasso@queensu.ca>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24771 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Base/QTCore/qSlicerCoreApplication.cxx Diff File
mod - Base/QTCore/qSlicerCoreApplication.h Diff File
mod - Base/QTGUI/Resources/UI/qSlicerSettingsGeneralPanel.ui Diff File
mod - Base/QTGUI/qSlicerSettingsGeneralPanel.cxx Diff File
mod - Base/QTGUI/qSlicerSettingsGeneralPanel.h Diff File