Allow all file names when opening a DB by drag & drop

This commit is contained in:
Martin Kleusberg
2013-01-02 19:03:52 +01:00
parent eef1c04020
commit 0f323dcbfa

View File

@@ -1355,7 +1355,7 @@ void MainWindow::dropEvent(QDropEvent *event)
QString fileName = urls.first().toLocalFile();
if( !fileName.isEmpty() && fileName.endsWith("db") )
if(!fileName.isEmpty())
fileOpen(fileName);
}