[rkward/releases/0.6.5] /: Fix strange preview activation / deactivation problem
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Tue Apr 5 19:08:34 UTC 2016
Git commit cba7fe0d1c28ed7f54cc7f14593e6b9d38822ec9 by Thomas Friedrichsmeier.
Committed on 05/04/2016 at 19:08.
Pushed by tfry into branch 'releases/0.6.5'.
Fix strange preview activation / deactivation problem
M +1 -0 ChangeLog
M +1 -0 rkward/plugin/rkstandardcomponent.cpp
http://commits.kde.org/rkward/cba7fe0d1c28ed7f54cc7f14593e6b9d38822ec9
diff --git a/ChangeLog b/ChangeLog
index 6cb32c5..046f07b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
--- Version 0.6.5a - UNRELEASED
+- Fixed: Preview boxes followed by a <stretch/> element would not work under some circumstances
- Fixed: Setting an output CSS file via the GUI did not work
- Fixed: Bug report feature on Windows did nothing TODO: Really test this!
- Avoid some potential encoding issues, that could cause graphical select.list to fail for certain strings, under some circumstances
diff --git a/rkward/plugin/rkstandardcomponent.cpp b/rkward/plugin/rkstandardcomponent.cpp
index 7dd73be..04f0c42 100644
--- a/rkward/plugin/rkstandardcomponent.cpp
+++ b/rkward/plugin/rkstandardcomponent.cpp
@@ -667,6 +667,7 @@ void RKComponentBuilder::buildElement (const QDomElement &element, XMLHelper &xm
}
widget = new RKPreviewBox (e, component (), parent_widget);
parent_widget->layout ()->addWidget (widget);
+ parent_widget = pwidget;
} else if (e.tagName () == QLatin1String ("saveobject")) {
widget = new RKPluginSaveObject (e, component (), parent_widget);
} else if (e.tagName () == QLatin1String ("embed")) {
More information about the rkward-tracker
mailing list