Menu

#245 "Preferences" button only works once.

v1.0 (example)
open
nobody
None
5
2014-12-01
2014-11-16
billfooger
No

In Ubuntu 14.04 64bit i am able to open "Preferences" once but after it closes i can't reopen it. The following is the associated error which is generated when i click the button after it stops working.

unhandled exception in callback:
Can't call method "set_sensitive" on an undefined value at /opt/pac/lib/PACConfig.pm line 516.
*** ignoring at /opt/pac/lib/PACMain.pm line 363.

Discussion

  • Magnus Eriksson

    Magnus Eriksson - 2014-12-01

    I can confirm this on version 4.5.5.1.
    It happens when you close the preferences from the windows' X-mark in the upper corner, or by alt+F4 (linux mint, cinnamon).
    The problem does not happen if you close it with the "Close without saving" button.

     
  • Magnus Eriksson

    Magnus Eriksson - 2014-12-01

    Attached patch against 4.5.5.1 fixes this, but I don't understand why the original code didn't work when this patch does. Some GTK2 voodoo? Well, it works for me.
    The patch simulates clicking the "Close without saving" button when the window is closed from the window manager.

     

Log in to post a comment.