diff --git a/screenshots/gui/qgscolorbutton.py b/screenshots/gui/qgscolorbutton.py index 0d4d951152fd..f6fbf6c775fa 100644 --- a/screenshots/gui/qgscolorbutton.py +++ b/screenshots/gui/qgscolorbutton.py @@ -14,11 +14,10 @@ def __generate_screenshots(dest_path: Path): im = ScreenshotUtils.capture_widget(widget, width=200) im.save((dest_path / "color_button.png").as_posix()) - # triggers a crash in qgis! (requires https://github.com/qgis/QGIS/pull/61600) - # im = ScreenshotUtils.capture_toolbutton_with_dropdown(widget, width=250) - # im.save((dest_path / "color_button_expanded.png").as_posix()) + im = ScreenshotUtils.capture_toolbutton_with_dropdown(widget, width=200) + im.save((dest_path / "color_button_expanded.png").as_posix()) return { "color_button.png": "QgsColorButton in a default state", - # "color_button_expanded.png": "QgsColorButton showing drop down menu", + "color_button_expanded.png": "QgsColorButton showing drop down menu", }