Fix browse segmentinfo

This commit is contained in:
Moritz Bunkus 2012-04-15 17:35:17 +02:00
parent 6d7d766c52
commit 084d5c3967

View File

@ -45,7 +45,7 @@ MainWindow::onSegmentinfoEdited(QString newValue) {
void
MainWindow::onBrowseSegmentinfo() {
auto fileName = getOpenFileName(QY("Select segment info file"), QY("XML files") + Q(" (*.xml)"), ui->globalTags);
auto fileName = getOpenFileName(QY("Select segment info file"), QY("XML files") + Q(" (*.xml)"), ui->segmentinfo);
if (!fileName.isEmpty())
m_config.m_segmentinfo = fileName;
}