Commit 36a5108e authored by Christos Christodoulopoulos's avatar Christos Christodoulopoulos
Browse files

Fixed bug with uknown predicates

parent 549f3417
No preview for this file type
......@@ -157,7 +157,7 @@ public class JBFramesetPanel extends JPanel implements ActionListener, ItemListe
bt_example.setEnabled(false);
}
if (frameset.getPredicate(vec_pNum.get(0)).isPrep())
if (vec_cNum.size() == 0 || frameset.getPredicate(vec_pNum.get(0)).isPrep())
btOpenInBrowser.setEnabled(false);
else
btOpenInBrowser.setEnabled(Desktop.isDesktopSupported());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment