mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	fix #18066
This commit is contained in:
		
							parent
							
								
									603d2e6364
								
							
						
					
					
						commit
						9302613f28
					
				@ -28,7 +28,7 @@ __revision__ = '$Format:%H$'
 | 
			
		||||
from qgis.PyQt.QtCore import Qt, QCoreApplication
 | 
			
		||||
from qgis.PyQt.QtWidgets import QProgressBar
 | 
			
		||||
from qgis.utils import iface
 | 
			
		||||
from qgis.core import QgsProcessingFeedback
 | 
			
		||||
from qgis.core import QgsProcessingFeedback, Qgis
 | 
			
		||||
from processing.gui.MessageDialog import MessageDialog
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -46,7 +46,7 @@ class MessageBarProgress(QgsProcessingFeedback):
 | 
			
		||||
        self.progress.setAlignment(Qt.AlignLeft | Qt.AlignVCenter)
 | 
			
		||||
        self.progressMessageBar.layout().addWidget(self.progress)
 | 
			
		||||
        iface.messageBar().pushWidget(self.progressMessageBar,
 | 
			
		||||
                                      iface.messageBar().INFO)
 | 
			
		||||
                                      Qgis.Info)
 | 
			
		||||
 | 
			
		||||
    def reportError(self, msg):
 | 
			
		||||
        self.msg.append(msg)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user