mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
generate context_help and function_help in the same order
This commit is contained in:
parent
8cccdc5d3a
commit
8cd467bea2
@ -335,8 +335,8 @@ class ModelerDialog(QDialog, Ui_DlgModeler):
|
||||
self.hasChanged = False
|
||||
except WrongModelException, e:
|
||||
QMessageBox.critical(self, self.tr('Could not open model'),
|
||||
self.tr('The selected model could not be loaded.\n\
|
||||
Wrong line: %s') % e.msg)
|
||||
self.tr('The selected model could not be loaded.\n'
|
||||
'Wrong line: %s') % e.msg)
|
||||
|
||||
def repaintModel(self):
|
||||
self.scene = ModelerScene()
|
||||
|
@ -5,6 +5,8 @@ SET(HELP_OUTPUT "${CMAKE_SOURCE_DIR}/src/core/qgscontexthelp_texts.cpp")
|
||||
|
||||
FILE(WRITE ${HELP_OUTPUT} "#include \"qgscontexthelp.h\"\n#include <QCoreApplication>\n\nQHash<QString, QString> QgsContextHelp::gContextHelpTexts;\n\nvoid QgsContextHelp::init()\n{\n if( !gContextHelpTexts.isEmpty() )\n return;\n")
|
||||
|
||||
LIST(SORT HELP_FILES)
|
||||
|
||||
FOREACH(HELP_FILE ${HELP_FILES})
|
||||
STRING(REGEX REPLACE "^.*/([^/]+)$" "\\1" CONTEXT ${HELP_FILE})
|
||||
|
||||
|
@ -5,6 +5,8 @@ SET(HELP_OUTPUT "${CMAKE_SOURCE_DIR}/src/core/qgsexpression_texts.cpp")
|
||||
|
||||
FILE(WRITE ${HELP_OUTPUT} "#include \"qgsexpression.h\"\n#include <QCoreApplication>\n\nQHash<QString, QString> QgsExpression::gFunctionHelpTexts;\n\nvoid QgsExpression::initFunctionHelp()\n{\n if( !gFunctionHelpTexts.isEmpty() )\n return;\n")
|
||||
|
||||
LIST(SORT HELP_FILES)
|
||||
|
||||
FOREACH(HELP_FILE ${HELP_FILES})
|
||||
STRING(REGEX REPLACE "^.*/([^/]+)$" "\\1" FN ${HELP_FILE})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user