From 2debdad84a6e7e750ff1fa6be9c83a251f9c96ab Mon Sep 17 00:00:00 2001 From: Faisal Shahzad <84210709+seowings@users.noreply.github.com> Date: Fri, 27 Oct 2023 01:19:44 +0200 Subject: [PATCH] fix for #51 for crawl toolbar --- src/staticwordpress/gui/mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/staticwordpress/gui/mainwindow.py b/src/staticwordpress/gui/mainwindow.py index db733f0..742aa3f 100644 --- a/src/staticwordpress/gui/mainwindow.py +++ b/src/staticwordpress/gui/mainwindow.py @@ -756,7 +756,7 @@ def update_widgets(self) -> None: self._project.has_github() ) self.findChild(QToolBar, "toolbar_wordpres").setEnabled( - self._project.has_wordpress() + self._project.has_wordpress() or self._project.can_crawl() ) # update menu items