Skip to content

Commit

Permalink
Raise the parameters window on MacOS. Issue #39
Browse files Browse the repository at this point in the history
  • Loading branch information
mnesarco committed Aug 21, 2024
1 parent 70e36d2 commit 48462b3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Marz Workbench Changelog

## 0.1.6 (Oct 15th 2024)
## 0.1.7 (Aug 21th 2024)

- Raise the parameters window on MacOS

## 0.1.6 (Jul 15th 2024)

- Minor ui style change (contrast)

Expand Down
2 changes: 1 addition & 1 deletion freecad/marz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# | along with Marz Workbench. If not, see <https://www.gnu.org/licenses/>. |
# +---------------------------------------------------------------------------+

__version__ = "0.1.6"
__version__ = "0.1.7"
__author__ = "Frank David Martinez M <mnesarco at gmail.com>"
__copyright__ = "Copyright (c) 2020, Frank David Martinez M."
__license__ = "GPLv3"
Expand Down
5 changes: 5 additions & 0 deletions freecad/marz/extension/fcui.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,11 @@ def open(cls, w, modal: bool = True):
w.open()
else:
w.show()
try:
w.raise_() # Mac ??
except:
pass
w.requestActivate()


def find_active_window():
Expand Down
2 changes: 1 addition & 1 deletion manifest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;* General identification metadata *
;***************************************************************************
[general]
version=0.1.6
version=0.1.7
name=Marz
title=Marz Guitar Design
description=Parametric Guitar Design
Expand Down
4 changes: 2 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package format="1">
<name>Marz Workbench</name>
<description>Parametric Guitar design workbench</description>
<version>0.1.6</version>
<version>0.1.7</version>
<maintainer email="twitter: @mnesarco">Frank Martinez</maintainer>
<license file="LICENSE">GPL-3.0</license>
<url type="repository" branch="master">https://github.com/mnesarco/MarzWorkbench</url>
Expand All @@ -13,7 +13,7 @@
<name>Marz Workbench</name>
<classname>MarzWorkbench</classname>
<description>Parametric Guitar design workbench.</description>
<version>0.1.6</version>
<version>0.1.7</version>
<subdirectory>./</subdirectory>
<icon>Resources/icons/Marz.svg</icon>
<freecadmin>0.21.0</freecadmin>
Expand Down

0 comments on commit 48462b3

Please sign in to comment.