From fe1f550f1c2ab99d6edb89b6ee52dcff97f16487 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 8 May 2009 18:36:41 +0000 Subject: [PATCH] (trunk qt) disable the "open folder" option if we're connected to daemon running on a different machine --- qt/mainwin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/mainwin.cc b/qt/mainwin.cc index 1589ce433..d339e95c9 100644 --- a/qt/mainwin.cc +++ b/qt/mainwin.cc @@ -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 );