Skip to content

Commit

Permalink
Add status bar message when GSC opens waring users it may be behind t…
Browse files Browse the repository at this point in the history
…he main window.
  • Loading branch information
krzywon committed Oct 11, 2024
1 parent 86c689f commit 3dfbb59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sas/qtgui/MainWindow/GuiManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,8 @@ def actionGeneric_Scattering_Calculator(self):
if self.GENSASCalculator is None:
self.GENSASCalculator = GenericScatteringCalculator(self)
self.GENSASCalculator.show()
self.updateStatusBar("The Generic Scattering Calculator is open, but it sometimes opens behind the main "
"window.")
except Exception as ex:
logging.error(str(ex))
return
Expand Down

0 comments on commit 3dfbb59

Please sign in to comment.