]> granicus.if.org Git - transmission/commitdiff
(trunk qt) disable the "open folder" option if we're connected to daemon running...
authorCharles Kerr <charles@transmissionbt.com>
Fri, 8 May 2009 18:36:41 +0000 (18:36 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Fri, 8 May 2009 18:36:41 +0000 (18:36 +0000)
qt/mainwin.cc

index 1589ce4333fe30208eadfafeeb08ec1ab8b754b6..d339e95c97990ec1ed25140be306f70e74ab13ec 100644 (file)
@@ -732,7 +732,7 @@ TrMainWindow :: refreshActionSensitivity( )
     ui.action_DeselectAll->setEnabled( haveSelection );
 
     const bool oneSelection( selected == 1 );
-    ui.action_OpenFolder->setEnabled( oneSelection );
+    ui.action_OpenFolder->setEnabled( oneSelection && mySession.isLocal( ) );
 
     ui.action_SelectAll->setEnabled( selected < rowCount );
     ui.action_StartAll->setEnabled( paused > 0 );