Fix Omnibar

This commit is contained in:
Florian Märkl 2017-12-03 21:07:14 +01:00
parent 2a7d2b79b6
commit fab611f1b0

View File

@ -174,9 +174,7 @@ void Omnibar::on_gotoEntry_returnPressed()
} }
else else
{ {
//CutterCore::getInstance()->seek(CutterCore::getInstance()->cmd("?v " + this->text()), this->text()); Core()->seek(text());
QString off = CutterCore::getInstance()->cmd("afo " + this->text());
CutterCore::getInstance()->seek(off.trimmed().toInt());
} }
} }