зеркало из https://github.com/mozilla/pjs.git
correctly enable get-info menu item
This commit is contained in:
Родитель
eb030d87ea
Коммит
073f62a903
|
@ -1337,9 +1337,7 @@ static NSArray* sToolbarDefaults = nil;
|
|||
|
||||
- (BOOL)bookmarksAreVisible:(BOOL)inRequireSelection
|
||||
{
|
||||
// we should really identify the tab by identifier, not index.
|
||||
BOOL bookmarksShowing = ([mSidebarDrawer state] == NSDrawerOpenState) &&
|
||||
([mSidebarTabView tabViewItemAtIndex: 0] == [mSidebarTabView selectedTabViewItem]);
|
||||
BOOL bookmarksShowing = [mContentView isBookmarkManagerVisible];
|
||||
|
||||
if (inRequireSelection)
|
||||
bookmarksShowing &= ([mSidebarBookmarksDataSource haveSelectedRow]);
|
||||
|
|
Загрузка…
Ссылка в новой задаче