Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gui: fix several regressions caused by PR #12035 #13033

Merged
merged 1 commit into from Mar 18, 2024

Conversation

wwmayer
Copy link
Contributor

@wwmayer wwmayer commented Mar 18, 2024

  • fix hard crash in MainWindow::_updateActions() if no MDI view exists
  • in MDIView::buildWindowTitle() use the label of the document because this changes when saving it while the name is immutable
  • fix const correctness in MDIView::buildWindowTitle()
  • do not set the modified flag of the main window in MDIView::buildWindowTitle() but in the calling instance
  • move setting the main window title to Application::viewActivated to reduce code duplication
  • fix missing application name if FreeCADGui is loaded as Python module

* fix hard crash in MainWindow::_updateActions() if no MDI view exists
* in MDIView::buildWindowTitle() use the label of the document because this changes when saving it while the name is immutable
* fix const correctness in MDIView::buildWindowTitle()
* do not set the modified flag of the main window in MDIView::buildWindowTitle() but in the calling instance
* move setting the main window title to Application::viewActivated to reduce code duplication
* fix missing application name if FreeCADGui is loaded as Python module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD
Projects
None yet
1 participant