diff --git a/src/widgets/Omnibar.cpp b/src/widgets/Omnibar.cpp index adb82957..afed28d7 100644 --- a/src/widgets/Omnibar.cpp +++ b/src/widgets/Omnibar.cpp @@ -174,9 +174,7 @@ void Omnibar::on_gotoEntry_returnPressed() } else { - //CutterCore::getInstance()->seek(CutterCore::getInstance()->cmd("?v " + this->text()), this->text()); - QString off = CutterCore::getInstance()->cmd("afo " + this->text()); - CutterCore::getInstance()->seek(off.trimmed().toInt()); + Core()->seek(text()); } }