[rkward/work/preview_with_menu] rkward/plugin: Dock plot previews by default
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Tue Feb 2 12:34:07 UTC 2016
Git commit 600805978815b560aab5aa28ab44e955c4b49470 by Thomas Friedrichsmeier.
Committed on 02/02/2016 at 12:33.
Pushed by tfry into branch 'work/preview_with_menu'.
Dock plot previews by default
M +1 -1 rkward/plugin/rkpreviewbox.cpp
http://commits.kde.org/rkward/600805978815b560aab5aa28ab44e955c4b49470
diff --git a/rkward/plugin/rkpreviewbox.cpp b/rkward/plugin/rkpreviewbox.cpp
index 78ec888..691f144 100644
--- a/rkward/plugin/rkpreviewbox.cpp
+++ b/rkward/plugin/rkpreviewbox.cpp
@@ -127,7 +127,7 @@ RKPreviewBox::RKPreviewBox (const QDomElement &element, RKComponent *parent_comp
XMLHelper *xml = parent_component->xmlHelper ();
preview_mode = (PreviewMode) xml->getMultiChoiceAttribute (element, "mode", "plot;data;output;custom", 0, DL_INFO);
- placement = (PreviewPlacement) xml->getMultiChoiceAttribute (element, "placement", "default;attached;detached;docked", (preview_mode == PlotPreview) ? 0 : 3, DL_INFO);
+ placement = (PreviewPlacement) xml->getMultiChoiceAttribute (element, "placement", "default;attached;detached;docked", (preview_mode == PlotPreview) ? 3 : 3, DL_INFO);
preview_active = xml->getBoolAttribute (element, "active", false, DL_INFO);
idprop = RObject::rQuote (QString ().sprintf ("%p", this));
More information about the rkward-tracker
mailing list