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

List:       kde-commits
Subject:    koffice/kspread/dialogs
From:       Stefan Nikolaus <stefan.nikolaus () kdemail ! net>
Date:       2010-09-27 15:44:02
Message-ID: 20100927154402.4D3BBAC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1180305 by nikolaus:

Allow sorting when only one column/row is selected.


 M  +4 -2      SortDialog.cpp  


--- trunk/koffice/kspread/dialogs/SortDialog.cpp #1180304:1180305
@@ -440,10 +440,12 @@
             }
         }
 
-        if (d->mainWidget.m_sortHorizontal->isEnabled()) {
+        // create column indices, if data can be sorted vertically
+        if (d->mainWidget.m_sortVertical->isEnabled()) {
             d->createAvailableIndices(region, Qt::Horizontal);
         }
-        if (d->mainWidget.m_sortVertical->isEnabled()) {
+        // create row indices, if data can be sorted horizontally
+        if (d->mainWidget.m_sortHorizontal->isEnabled()) {
             d->createAvailableIndices(region, Qt::Vertical);
         }
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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