Commit b2abf2ae authored by Jan Möbius's avatar Jan Möbius

Toolbox on the right renamed

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10361 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 23dab5a1
......@@ -475,7 +475,7 @@ CoreWidget( QVector<ViewMode*>& _viewModes,
wsizes = toolSplitter_->sizes();
// if the toolbox should be on the right, use the defaults. Otherwise, we have to reorder them.
if ( OpenFlipperSettings().value("Core/Gui/ToolBoxOnTheRight", true).toBool() ) {
if ( OpenFlipperSettings().value("Core/Gui/ToolBoxes/ToolBoxOnTheRight", true).toBool() ) {
// Set relative sizes of windows
wsizes[0] = 480;
......@@ -855,7 +855,7 @@ void CoreWidget::setToolBoxOrientationOnTheRight(bool _toolBoxRight) {
}
// Store new setting
OpenFlipperSettings().setValue("Core/Gui/ToolBoxOnTheRight",_toolBoxRight);
OpenFlipperSettings().setValue("Core/Gui/ToolBoxes/ToolBoxOnTheRight",_toolBoxRight);
// remove the windowstates definition for the toolboxes, as it changed anyway.
QSettings windowStates(QDir::home().absolutePath() + OpenFlipper::Options::dirSeparator() + ".OpenFlipper" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment