From: Christoph Egger Date: Sun, 24 May 2015 12:27:55 +0000 (+0200) Subject: Script files are not actually binaries but scripts! X-Git-Tag: v0.2~21 X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=commitdiff_plain;h=af104b02984cca1973051b301c946d5937b9af4d Script files are not actually binaries but scripts! --- diff --git a/src/gui/Mainwindow.cxx b/src/gui/Mainwindow.cxx index 544d5fd..39fc83e 100644 --- a/src/gui/Mainwindow.cxx +++ b/src/gui/Mainwindow.cxx @@ -56,7 +56,7 @@ Mainwindow::Mainwindow(InformationManager* mgr) connect(guileLoad, &QAction::triggered, [&]() { QString fileName = QFileDialog::getOpenFileName(this, tr("Open Script"), "", - tr("Binaries") + " (*." + + tr("Scripts") + " (*." + manager->getInterpreter("GUILE")->fileExtension().c_str() + ")"); if(! fileName.isNull()) { std::stringstream a, b;