Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.salome-platform.org/modules/gui
[modules/gui.git]
/
src
/
Qtx
/
QtxResourceMgr.cxx
diff --git
a/src/Qtx/QtxResourceMgr.cxx
b/src/Qtx/QtxResourceMgr.cxx
index d3c2aa09886e3cc147263455fac25344a10a76f1..7b2688844e0fffde3dd04e6eaec553a9ed2e19de 100644
(file)
--- a/
src/Qtx/QtxResourceMgr.cxx
+++ b/
src/Qtx/QtxResourceMgr.cxx
@@
-1409,11
+1409,14
@@
QtxResourceMgr::WorkingMode QtxResourceMgr::workingMode() const
Note, that setValue() method always put the value to the user settings file.
\param mode new working mode
Note, that setValue() method always put the value to the user settings file.
\param mode new working mode
+ \return previous working mode
\sa workingMode(), value(), hasValue(), hasSection(), setValue()
*/
\sa workingMode(), value(), hasValue(), hasSection(), setValue()
*/
-
void
QtxResourceMgr::setWorkingMode( WorkingMode mode )
+
QtxResourceMgr::WorkingMode
QtxResourceMgr::setWorkingMode( WorkingMode mode )
{
{
+ WorkingMode m = myWorkingMode;
myWorkingMode = mode;
myWorkingMode = mode;
+ return m;
}
/*!
}
/*!