Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid opening multiple attribute forms for a single feature in identify
- Loading branch information
Showing
1 changed file
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20197c2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's nice to have this functionality. Thank you.
However, there is one nasty bug in this commit.
Dialog object name generation with
QString( "featureactiondlg:%1:%2" ).arg( mLayer->id(), f->id() )
calls overloaded function
QString QString::arg(const QString & a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' )) const
instead
QString QString::arg(const QString & a1, const QString & a2) const
It becomes huge performance issue when QgsCollapsibleGroupBox saves configuration using this object name. On Ubuntu with layers with big ids it causes configuration file to grow very fast to 10MB~100MB which make QGIS almost unusable.
20197c2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@barteksch good find.
20197c2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 392b638 and 6dfcf40