Restore automatic scrolling on wizard dialog
The scrolls are disable to compute the best size but if the result is too big, we must allow user to scroll. issue9494 review294221002
This commit is contained in:
1 parent
fea3dd6067
commit
fd6c0ebb40
1 file changed
+5
@@ -354,6 +354,11 @@ class WizardDialog(Wizard, NoModal):
|
||||
current_view.scroll.set_policy(
|
||||
Gtk.PolicyType.NEVER, Gtk.PolicyType.NEVER)
|
||||
self.show()
|
||||
self.scrolledwindow.set_policy(
|
||||
Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||
if current_view.scroll:
|
||||
current_view.scroll.set_policy(
|
||||
Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||
|
||||
def destroy(self, action=None):
|
||||
super(WizardDialog, self).destroy(action=action)
|
||||
|
||||
Reference in new issue
Block a user