mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-07 18:27:46 +08:00
Export Images: fixed images still saved when cancelling the dialog
This commit is contained in:
@@ -1003,7 +1003,7 @@ void DatabaseViewer::extractImages()
|
||||
}
|
||||
|
||||
QString path = QFileDialog::getExistingDirectory(this, tr("Select directory where to save images..."), QDir::homePath());
|
||||
if(!path.isNull())
|
||||
if(!path.isEmpty())
|
||||
{
|
||||
if(ids_.size())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user