Nyall Dawson
58548e044a
[layouts] Save last used export folder in project
...
And use it in preference to the global last used export folder.
Because GIS use is typically specific project based, and it makes
little sense to default to an output folder related to
a different project.
2018-06-22 11:22:15 +10:00
Nyall Dawson
feea121096
Fix some warnings
2018-06-22 10:48:20 +10:00
Nyall Dawson
635f8ad7ca
Add QgsFileUtils::findClosestExistingPath to find the closest
...
existing folder match for a path
E.g. if \a path is "/home/user/projects/2018/P4343"
and "/home/user/projects" exists but no "2018" subfolder
exists, then the function will return "/home/user/projects".
(Suprisingly no existing Qt method for this!)
2018-06-22 10:45:00 +10:00
Nyall Dawson
1572314bca
Fix some warnings
2018-06-22 09:46:00 +10:00
Nyall Dawson
757949bac0
Add missing references
2018-06-22 09:43:19 +10:00
Marco Bernasocchi
96923c75b1
fix spacing
2018-06-22 07:46:52 +10:00
Marco Bernasocchi
df56fdceac
Make non progress reporting tasks have undefined bars instead of 0%
2018-06-22 07:46:52 +10:00
Matthias Kuhn
6a6a8dda55
Reset embedded form when last feature is removed
...
Fix #18754
2018-06-22 05:49:36 +10:00
Martin Dobias
4c84cfa29a
Fix a memory leak in classify() + add missing annotations/docstrings
...
A pseudo color renderer was getting created in classify() but never deleted.
Spotted by @PeterPetrik
As a bonus switched a for loop from mixed constBegin()/end() usage to range for.
2018-06-22 05:48:46 +10:00
Nyall Dawson
506f028e4f
Add some explanatory comments
2018-06-22 04:34:43 +10:00
Nyall Dawson
57ed9edbb8
Initialize in headers
2018-06-22 04:34:43 +10:00
Nyall Dawson
d2e3755879
Fix Ctrl shortcut handling for advanced digitizing dock
2018-06-22 04:34:43 +10:00
Martin Dobias
73fd83f71d
Fix crashes in geometry checker ( fixes #18736 ) ( #7292 )
...
This fixes two different crashes:
- when trying to close the checker dialog while checks are running in background
- when trying to run checks again after previously aborting a run
2018-06-21 17:22:12 +02:00
Juergen E. Fischer
314eca9934
fix warnings
2018-06-21 17:02:37 +02:00
Juergen E. Fischer
7604d9b8e3
fix build with GDAL >=2.3 (followup 2ed54721)
2018-06-21 15:41:05 +02:00
Denis Rouzaud
ad00020366
QgsSettings.enumValue cast to enum
2018-06-21 05:29:16 -08:00
Denis Rouzaud
01681aba89
fix missing import
2018-06-21 05:29:16 -08:00
Denis Rouzaud
3c74991286
add test for QgsSettings.setEnumValue
2018-06-21 05:29:16 -08:00
Denis Rouzaud
7dfec1fde0
[pyqgis] add misssing QgsSettings.setEnumValue
...
also fix sections in enumValue and flagValue
2018-06-21 05:29:16 -08:00
Matthias Kuhn
17ea4a9f7b
Merge pull request #7287 from daniviga/fix-rpm-build
...
Some minor fixes to rpm/buildrpms.sh
2018-06-21 11:06:43 +02:00
Martin Dobias
8609a2fa88
Do not crash on exit due to dangling layer pointer ( fixes #18732 )
...
When using attribute dialog to edit attributes of multiple selected features,
the dialog may stay alive until QGIS exits (parented to QgisApp) and its internal
QgsActionMenu would try to reload actions when they get removed in ~QgisApp,
referring to a deleted map layer, so let's clean things up when the layer gets
deleted to avoid trouble later.
2018-06-21 11:06:17 +02:00
Matthias Kuhn
692f439c4a
Merge pull request #7283 from aleixpol/appstream
...
Include AppStream metadata
2018-06-21 10:34:56 +02:00
Daniele Viganò
c280605126
Fedora 26 has reached the end of life
2018-06-21 10:28:09 +02:00
Daniele Viganò
6b7a7f1893
Some minor fixes to rpm/buildrpms.sh
2018-06-21 10:26:06 +02:00
Nyall Dawson
981c6686c0
Dox++
2018-06-21 18:22:55 +10:00
Nyall Dawson
5cfa18ee9f
Fix more sorting issues in vector format lists
2018-06-21 18:22:55 +10:00
Nyall Dawson
2ed547219a
Add globs to information returned by QgsVectorFileWriter.supportedFiltersAndFormats
2018-06-21 18:22:55 +10:00
Nyall Dawson
352f3f34ce
Explicitly list [xlsx] extension for 'MS Office Open XML spreadsheet' format
...
...because most humans don't associate "MS Office Open XML" with XLS
2018-06-21 18:22:55 +10:00
Nyall Dawson
f332971084
Fix confusing sort order of vector formats in save as dialog
...
We were sorting on the driver name, not the display name, so
MS OpenOffice ("XLSX") was appearing after Sqlite.
2018-06-21 18:22:55 +10:00
Matthias Kuhn
4ddfd134fd
Merge pull request #7286 from anitagraser/patch-2
...
fixed link to PyQGIS docs
2018-06-21 09:30:39 +02:00
Anita Graser
ce0964402f
fixed link to PyQGIS docs
2018-06-21 08:58:49 +02:00
Juergen E. Fischer
c27b445130
fix tar (followup 4790747a)
2018-06-21 08:51:41 +02:00
Nyall Dawson
e9bb1616a5
Another shellcheck fix
2018-06-21 15:33:29 +10:00
Nyall Dawson
b0aaa9d11a
Fix test
2018-06-21 15:33:29 +10:00
Nyall Dawson
2104b563d6
Fix some SC2086 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
78b07cdf31
Fix SC2196 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
4778498c94
Fix SC2034 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
5b375a2edf
Fix SC2188 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
0e9a381534
Fix SC2103 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
040f1d1879
Fix SC2006 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
cab83c51a8
Fix SC2222 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
7ad85a451f
Fix SC2004 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
00477ff910
Fix SC2068 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
11bb5afa0b
Fix SC2035 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
fc20fc81f7
Fix SC2062 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
6c9484b923
Fix SC2181 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
36e38210db
Fix SC2116 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
80d655598a
Fix SC2219 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
4118bafc96
Fix all SC2164 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
0d41925535
Disable all failing shellcheck checks
2018-06-21 15:33:29 +10:00