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

Cant add project widget bilder to a pre v0.39-project, which already uses custom widgets #250

Open
JojoMueller opened this issue May 6, 2024 · 0 comments

Comments

@JojoMueller
Copy link

When I try to open a project file, built with pygubu-designer < v0.39, which holds user defined widgets, an error message is displayed: "Class 'customwidgets.cbxxtreeview' not mapped'". Ok. But unfortunately now, changing project settings is impossible: "Open a project first". Pygubu-designer is in a somehow inconsistent state. The widget tree of the project, I tried to open, is displayed, but windows title is still "Pygubu designer - newproject (*)"

Expected behavior
I think it would be best in this case, to load the project despite of this error, and to open the project settings dialog.

Environment

  • Windows 10
  • Python 3.12
  • pygubu 0.35.1
  • pygubu-designer 0.39.2

As a workaround, manually editing the ui file should not be too difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant