[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [rkward/releases/0.6.5] /: Fix strange preview activation / deactivation problem
From:       Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date:       2016-04-05 19:08:34
Message-ID: E1anWL4-0006Id-F2 () scm ! kde ! org
[Download RAW message or body]

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")) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic