Browse Source

BUG: ctkConsole: Ensure autocompleter is updated or hidden when moving left

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
Mayeul Chassagnard 8 years ago
parent
commit
461b2784ff
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Libs/Widgets/ctkConsole.cpp

+ 1 - 0
Libs/Widgets/ctkConsole.cpp

@@ -410,6 +410,7 @@ void ctkConsolePrivate::keyPressEvent(QKeyEvent* e)
       this->setTextCursor(text_cursor);
       e->accept();
       }
+    this->updateCompleterIfVisible();
     return;
     }