changeset 16721:a71a784c7611

* file-editor-tab.cc(update_lexer): redundant code removed
author Torsten <ttl@justmail.de>
date Sun, 02 Jun 2013 21:46:57 +0200
parents 973fd2367d44
children c8bbab6b9e7a
files libgui/src/m-editor/file-editor-tab.cc
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc	Sun Jun 02 21:13:47 2013 +0200
+++ b/libgui/src/m-editor/file-editor-tab.cc	Sun Jun 02 21:46:57 2013 +0200
@@ -301,10 +301,8 @@
             { // path exists, apis info can be saved there
               connect (_lexer_apis, SIGNAL (apiPreparationFinished ()),
                        this, SLOT (save_apis_info ()));
-              _lexer_apis->prepare ();  // prepare apis info, save when finished
             }
-          else
-            _lexer_apis->prepare ();  // prepare apis info wihtout saving
+          _lexer_apis->prepare ();  // prepare apis info
         }
     }