You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin končí chybou v případě, že uživatel nevybere formát výstupu.
AttributeError: type object 'QgsMessageBar' has no attribute 'CRITICAL'
Traceback (most recent call last):
File "C:\OSGeo4W64\qgis3_profiles\profiles\default/python/plugins\qgis-ruian-plugin\MainApp.py", line 394, in get_options
level=QgsMessageBar.CRITICAL, duration=5)
AttributeError: type object 'QgsMessageBar' has no attribute 'CRITICAL'
Je potřeba upravit na:
from qgis.core import Qgis
level=Qgis.Critical
The text was updated successfully, but these errors were encountered:
Plugin končí chybou v případě, že uživatel nevybere formát výstupu.
AttributeError: type object 'QgsMessageBar' has no attribute 'CRITICAL'
Traceback (most recent call last):
File "C:\OSGeo4W64\qgis3_profiles\profiles\default/python/plugins\qgis-ruian-plugin\MainApp.py", line 394, in get_options
level=QgsMessageBar.CRITICAL, duration=5)
AttributeError: type object 'QgsMessageBar' has no attribute 'CRITICAL'
Je potřeba upravit na:
from qgis.core import Qgis
level=Qgis.Critical
The text was updated successfully, but these errors were encountered: