From af104b02984cca1973051b301c946d5937b9af4d Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Sun, 24 May 2015 14:27:55 +0200 Subject: [PATCH] Script files are not actually binaries but scripts! --- src/gui/Mainwindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5