changeset 264:3e9eae36e5ef

menu force-size does not need a session, just an active terminal
author Carl Byington <carl@five-ten-sg.com>
date Wed, 16 Jul 2014 12:08:43 -0700
parents c8d9ef252b23
children cf81ae79931d
files src/com/five_ten_sg/connectbot/ConsoleActivity.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/ConsoleActivity.java	Wed Jul 16 12:07:15 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/ConsoleActivity.java	Wed Jul 16 12:08:43 2014 -0700
@@ -905,7 +905,7 @@
             resize.setAlphabeticShortcut('r');
 
         resize.setIcon(android.R.drawable.ic_menu_crop);
-        resize.setEnabled((activeTerminal);
+        resize.setEnabled(activeTerminal);
         resize.setOnMenuItemClickListener(new OnMenuItemClickListener() {
             public boolean onMenuItemClick(MenuItem item) {
                 final TerminalView terminalView = (TerminalView) findCurrentView(R.id.console_flip);