From 665e671efec73fcb36a9aac45f119330f290fa81 Mon Sep 17 00:00:00 2001 From: cmzmasek Date: Wed, 12 Oct 2016 10:48:11 -0700 Subject: [PATCH] keep it as close with archy.js as possible... --- forester/java/src/org/forester/archaeopteryx/MainFrame.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/forester/java/src/org/forester/archaeopteryx/MainFrame.java b/forester/java/src/org/forester/archaeopteryx/MainFrame.java index a06adaf..20bbcde 100644 --- a/forester/java/src/org/forester/archaeopteryx/MainFrame.java +++ b/forester/java/src/org/forester/archaeopteryx/MainFrame.java @@ -505,6 +505,9 @@ public abstract class MainFrame extends JFrame implements ActionListener { showWhole(); } else if ( o == _search_case_senstive_cbmi ) { + if ( ( _search_with_regex_cbmi != null ) && _search_case_senstive_cbmi.isSelected() ) { + _search_with_regex_cbmi.setSelected( false ); + } updateOptions( getOptions() ); getMainPanel().getControlPanel().search0(); getMainPanel().getControlPanel().search1(); @@ -527,7 +530,7 @@ public abstract class MainFrame extends JFrame implements ActionListener { _search_whole_words_only_cbmi.setSelected( false ); } if ( ( _search_case_senstive_cbmi != null ) && _search_with_regex_cbmi.isSelected() ) { - _search_case_senstive_cbmi.setSelected( true ); + _search_case_senstive_cbmi.setSelected( false ); } updateOptions( getOptions() ); getMainPanel().getControlPanel().search0(); -- 1.7.10.2