]> Devoid-pointer.net GitWeb - anyanka.git/commitdiff
Use appropriate window title in sequence/single run file dialog.
authorMichal Malý <madcatxster@prifuk.cz>
Sun, 17 Nov 2013 10:41:17 +0000 (11:41 +0100)
committerMichal Malý <madcatxster@prifuk.cz>
Sun, 17 Nov 2013 10:41:17 +0000 (11:41 +0100)
gui/mainwindow.cpp

index 2c6968cfa38c14cb855f15f0d7fb09bcfa67cce1..8dd8a86b9e12006b158f80e0eb6a88d092e4beb0 100644 (file)
@@ -126,12 +126,14 @@ void MainWindow::onIntegrateSelected()
 }
 void MainWindow::onLoadSequence()
 {
+  m_loadDataFileDialog->setWindowTitle("Load sequence");
   if (m_loadDataFileDialog->exec() == QDialog::Accepted)
     emit loadSequence(m_loadDataFileDialog->selectedFiles()[0]);
 }
 
 void MainWindow::onLoadSingleRun()
 {
+  m_loadDataFileDialog->setWindowTitle("Load single run");
   if (m_loadDataFileDialog->exec() == QDialog::Accepted) {
     qDebug() << "Chosen file" << m_loadDataFileDialog->selectedFiles();
     emit loadSingleRun(m_loadDataFileDialog->selectedFiles()[0]);