mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
DbViewer: Added datbabase path to window title
This commit is contained in:
@@ -845,6 +845,7 @@ bool DatabaseViewer::openDatabase(const QString & path)
|
||||
}
|
||||
|
||||
updateIds();
|
||||
this->setWindowTitle("RTAB-Map Database Viewer - " + path + "[*]");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -867,6 +868,7 @@ bool DatabaseViewer::openDatabase(const QString & path)
|
||||
|
||||
bool DatabaseViewer::closeDatabase()
|
||||
{
|
||||
this->setWindowTitle("RTAB-Map Database Viewer[*]");
|
||||
if(dbDriver_)
|
||||
{
|
||||
if(linksAdded_.size() || linksRefined_.size() || linksRemoved_.size())
|
||||
|
||||
Reference in New Issue
Block a user