diff options
Diffstat (limited to 'lumina-fm')
-rw-r--r-- | lumina-fm/MainUI.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-fm/MainUI.cpp b/lumina-fm/MainUI.cpp index daa172d1..3e8c7146 100644 --- a/lumina-fm/MainUI.cpp +++ b/lumina-fm/MainUI.cpp @@ -172,6 +172,10 @@ void MainUI::OpenDirs(QStringList dirs){ if(!invalid.isEmpty()){ QMessageBox::warning(this, tr("Invalid Directories"), tr("The following directories are invalid and could not be opened:")+"\n"+invalid.join(", ") ); } + //Double check that there is at least 1 dir loaded + //qDebug() << "OpenDirs:" << DWLIST.length() << dirs << invalid << tabBar->currentIndex(); + if(DWLIST.isEmpty()){ OpenDirs(QStringList()); } + } void MainUI::setupIcons(){ |