-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
Problem with Cancel button of GenericDialog? #504
Comments
Hello @WC802 , I'm unable to reproduce the problem. Can you show me how you use the GenericDialog? remi/examples/widgets_overview_app.py Line 171 in 06808ad
Note that when you call dialog.show you must pass the application instance as argument ( remi/examples/widgets_overview_app.py Line 203 in 06808ad
Have a nice day, |
Thank you very much for your answer! |
The dialog buttons are 'cancel' and 'conf'. To hide the cancel button you can do: mydialog.cancel.css_display = 'none' |
Thank you very much for answering so fast! |
Hi!
I've been trying to use the GenericDialog function but when clicking the Cancel button the following error appears: 'NoneType' object has no attribute 'set_root_widget'.
Reading the function this seems to come from this lines:
self._base_app_instance = None
self._old_root_widget = None
I don't know if I'm using it wrong.
Thank you very much.
The text was updated successfully, but these errors were encountered: