keep it as close with archy.js as possible...
authorcmzmasek <cmzmasek@yahoo.com>
Wed, 12 Oct 2016 17:48:11 +0000 (10:48 -0700)
committercmzmasek <cmzmasek@yahoo.com>
Wed, 12 Oct 2016 17:48:11 +0000 (10:48 -0700)
forester/java/src/org/forester/archaeopteryx/MainFrame.java

index a06adaf..20bbcde 100644 (file)
@@ -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();