Skip to content

Commit 6e31245

Browse files
committed
- improved wraning msg, removed useless test
1 parent 40e53e0 commit 6e31245

File tree

2 files changed

+1
-99
lines changed

2 files changed

+1
-99
lines changed

src/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ void QgsGraduatedSymbolRendererV2Widget::classifyGraduated()
488488
if ( QgsGraduatedSymbolRendererV2::Jenks == mode
489489
&& mLayer->featureCount() > 50000 )
490490
{
491-
if ( QMessageBox::Cancel == QMessageBox::question( this, tr( "Warning" ), tr( "Natural break classification (Jenks) is O(n2) complexity, your classification may take a long time." ), QMessageBox::Cancel, QMessageBox::Ok ) ) return;
491+
if ( QMessageBox::Cancel == QMessageBox::question( this, tr( "Warning" ), tr( "Natural break classification (Jenks) is O(n2) complexity, your classification may take a long time.\nPress cancel to abort breaks calculation or OK to continue." ), QMessageBox::Cancel, QMessageBox::Ok ) ) return;
492492
}
493493

494494
// create and set new renderer

tests/src/python/test_qgsissue6483.py

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)