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

List:       kde-commits
Subject:    koffice/kexi/main
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2009-04-08 20:40:27
Message-ID: 1239223227.187127.18070.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 951276 by staniek:

Main Window
- make complex properties (e.g. QRect) expanded by default



 M  +4 -3      KexiMainWindow.cpp  


--- trunk/koffice/kexi/main/KexiMainWindow.cpp #951275:951276
@@ -4333,9 +4333,10 @@
         if (!newBuf || (force || static_cast<KoProperty::Set*>(d->propBuffer) != newBuf)) {
             d->propBuffer = newBuf;
             if (preservePrevSelection || force) {
-                KoProperty::EditorView::SetOptions options
-                    = preservePrevSelection ? KoProperty::EditorView::PreservePreviousSelection
-                        : KoProperty::EditorView::NoOptions;
+                KoProperty::EditorView::SetOptions options = KoProperty::EditorView::ExpandChildItems;
+                if (preservePrevSelection) {
+                    options |= KoProperty::EditorView::PreservePreviousSelection;
+                }
                 if (sortedProperties) {
                     options |= KoProperty::EditorView::AlphabeticalOrder;
                 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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