Skip to content

Commit

Permalink
Update ToolsDialog.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
poshul authored Apr 23, 2024
1 parent c53644e commit bfae267
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/openms_gui/source/VISUAL/DIALOGS/ToolsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,11 +445,11 @@ namespace OpenMS
// Try to Return the first valid string for the extension on the output parameter
// If we can't get any valid strings show an error.
String extension = FileTypes::typeToName(FileTypes::UNKNOWN);
vector<String> validStrings = vis_param_.getValidStrings(output_combo_->currentText().toStdString())
auto validStrings = vis_param_.getValidStrings(output_combo_->currentText().toStdString())
if (validStrings.size() > 0)
{
extension = validStrings[0];
}
};
else
{
QMessageBox::critical(this, "Error", QString("Error determining output type from tool. Tool is not compatible with TOPPView"));
Expand Down

0 comments on commit bfae267

Please sign in to comment.