mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Tango: fixed second database not saved when hitting Save two times consecutively
This commit is contained in:
@@ -1082,14 +1082,13 @@ public class RTABMapActivity extends Activity implements OnClickListener {
|
||||
|
||||
notificationManager.notify(0, n);
|
||||
}
|
||||
mOpenedDatabasePath = newDatabasePath;
|
||||
mProgressDialog.dismiss();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
saveThread.start();
|
||||
|
||||
mOpenedDatabasePath = newDatabasePath;
|
||||
}
|
||||
})
|
||||
.setNegativeButton("No", new DialogInterface.OnClickListener() {
|
||||
@@ -1145,14 +1144,13 @@ public class RTABMapActivity extends Activity implements OnClickListener {
|
||||
|
||||
notificationManager.notify(0, n);
|
||||
}
|
||||
mOpenedDatabasePath = newDatabasePath;
|
||||
mProgressDialog.dismiss();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
saveThread.start();
|
||||
|
||||
mOpenedDatabasePath = newDatabasePath;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user