# HG changeset patch # User Torsten # Date 1370202417 -7200 # Node ID a71a784c7611e13076685fb97d2250a95c04bc3e # Parent 973fd2367d442503551c938176344adcd3603a73 * file-editor-tab.cc(update_lexer): redundant code removed diff --git a/libgui/src/m-editor/file-editor-tab.cc b/libgui/src/m-editor/file-editor-tab.cc --- a/libgui/src/m-editor/file-editor-tab.cc +++ b/libgui/src/m-editor/file-editor-tab.cc @@ -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 } }