浏览代码

statistics bar filter menu bug fixed

Julien Clauter 11 年之前
父节点
当前提交
5b8284065f
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/de/tudarmstadt/informatik/hostage/ui2/fragment/StatisticsFragment.java

+ 3 - 2
src/de/tudarmstadt/informatik/hostage/ui2/fragment/StatisticsFragment.java

@@ -622,9 +622,10 @@ public class StatisticsFragment extends Fragment implements ChecklistDialog.Chec
             if (protocol.length() > 0){
                 if (this.selectedCompareData.equals(COMPARE_TITLE_AttacksPerBSSID)){
                     titles.add(FILTER_MENU_TITLE_BSSID);
+                } else {
+                    // DEFAULT
+                    titles.add(FILTER_MENU_TITLE_ESSID);
                 }
-                // DEFAULT
-                titles.add(FILTER_MENU_TITLE_ESSID);
             }
             titles.add(FILTER_MENU_TITLE_TIMESTAMP_ABOVE);
             if (this.filter.hasATimestamp() || this.filter.hasESSIDs() || this.filter.hasBSSIDs()