From 84c8ee716002228a5e83086687d43c22ec8ea607 Mon Sep 17 00:00:00 2001 From: Paul Ebbers Date: Sun, 23 Feb 2025 16:19:46 +0100 Subject: [PATCH] Changed name for StyleMapping --- RefreshTools.py | 4 ++-- StyleMapping.py => StyleMapping_SearchBar.py | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename StyleMapping.py => StyleMapping_SearchBar.py (100%) diff --git a/RefreshTools.py b/RefreshTools.py index e1ebbb2..2d8cac5 100644 --- a/RefreshTools.py +++ b/RefreshTools.py @@ -1,7 +1,7 @@ import os import FreeCAD as App import FreeCADGui as Gui -import StyleMapping +import StyleMapping_SearchBar # Define the translation translate = App.Qt.translate @@ -18,7 +18,7 @@ def loadAllWorkbenches(): lbl.setWindowFlags(Qt.WindowType.WindowStaysOnTopHint) # Get the stylesheet from the main window and use it for this form - lbl.setStyleSheet("background-color: " + StyleMapping.ReturnStyleItem("Background_Color") + ";") + lbl.setStyleSheet("background-color: " + StyleMapping_SearchBar.ReturnStyleItem("Background_Color") + ";") # # Get the main window from FreeCAD # mw = Gui.getMainWindow() diff --git a/StyleMapping.py b/StyleMapping_SearchBar.py similarity index 100% rename from StyleMapping.py rename to StyleMapping_SearchBar.py