From fab611f1b048abada0b1a4f66bcead0d1404c0be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Sun, 3 Dec 2017 21:07:14 +0100 Subject: [PATCH] Fix Omnibar --- src/widgets/Omnibar.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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()); } }