[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:       2008-11-19 13:53:42
Message-ID: 1227102822.806368.13757.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 886532 by staniek:

Main Window
- property editor pane now is displayed when user clicks "new table"
  action (there's no property set yet, but we want to display the pane 
  in advance)



 M  +3 -1      KexiMainWindow.cpp  


--- trunk/koffice/kexi/main/KexiMainWindow.cpp #886531:886532
@@ -4348,7 +4348,9 @@
                 }
             }
         }
-        if (newBuf && _currentWindow->currentViewMode() == Kexi::DesignViewMode) {
+        if (   (newBuf && _currentWindow->currentViewMode() == Kexi::DesignViewMode)
+            || (!newBuf && _currentWindow && \
_currentWindow->part()->info()->isPropertyEditorAlwaysVisibleInDesignMode())) +       \
{  d->propEditorDockWidget->setVisible(true);
         }
     }


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

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