https://bugs.kde.org/show_bug.cgi?id=376626
Bug ID: 376626 Summary: View does not recenter after loading of file Product: marble Version: 2.1 (KDE Applications 16.12) Platform: openSUSE RPMs OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: marble-b...@kde.org Reporter: w...@werner-stille.de Target Milestone: --- Created attachment 104101 --> https://bugs.kde.org/attachment.cgi?id=104101&action=edit Patch for automatic recentering after loading files When using MarbleWidget::model()->addGeoDataFile() to load a file, the view is not recentered any more according to the content, in contrast to the previous Marble version (2.0). It seems that after inserting the new parameter "renderOrder" in FileManager::addFile(), the call of that function in MarbleModel::addGeoDataFile() was not updated correctly to pass the value "true" for the parameter "recenter". The attached patch seems to cure the problem. -- You are receiving this mail because: You are watching all bug changes.