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

List:       kde-commits
Subject:    playground/network/smb4k/smb4k/dialogs
From:       Alexander Reinholdt <alexander.reinholdt () kdemail ! net>
Date:       2010-01-15 16:19:03
Message-ID: 1263572343.498061.29881.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1075173 by areinholdt:

Make workgroup section editable.


 M  +3 -4      smb4kbookmarkeditor.cpp  


--- trunk/playground/network/smb4k/smb4k/dialogs/smb4kbookmarkeditor.cpp #1075172:1075173
@@ -143,8 +143,7 @@
 {
   if ( m_widget->itemAt( pos ) )
   {
-    if ( m_widget->indexAt( pos ).column() != Bookmark &&
-         m_widget->indexAt( pos ).column() != Workgroup )
+    if ( m_widget->indexAt( pos ).column() != Bookmark )
     {
       m_collection->action( "edit_action" )->setEnabled( true );
     }
@@ -181,8 +180,7 @@
 
 void Smb4KBookmarkEditor::slotEditActionTriggered( bool /* checked */ )
 {
-  if ( m_widget->currentItem() && (m_widget->currentIndex().column() != Bookmark &&
-       m_widget->currentIndex().column() != Workgroup) )
+  if ( m_widget->currentItem() && m_widget->currentIndex().column() != Bookmark )
   {
     m_widget->editItem( m_widget->currentItem(), m_widget->currentIndex().column() );
   }
@@ -218,6 +216,7 @@
   {
     switch( column )
     {
+      case Workgroup:
       case Login:
       case IPAddress:
       case Label:
[prev in list] [next in list] [prev in thread] [next in thread] 

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